Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lead/model/cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
from datetime import date
import pandas as pd
import numpy as np
import os
import logging
from drain.util import lru_cache


YEAR_MIN = 2003
YEAR_MAX = 2017
YEAR_MAX = pd.Timestamp(os.environ['TODAY']).year

@lru_cache(maxsize=10)
def lead_data(month, day, wic_lag):
Expand Down
2 changes: 1 addition & 1 deletion lead/model/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def bll6_models(estimators, cv_search={}, transform_search={}, dump_estimator=Fa

"""
cvd = dict(
year=range(2013, 2014+1),
year=range(2011, 2014+1),
month=1,
day=1,
train_years=[6],
Expand Down