You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not built in, but TPOT now supports custom objective functions and cv splitters.
Two options:
(simplest) you pass in an sklearn cv splitter that does this strategy (sklearn.model_selection.BaseCrossValidator) to the 'cv' parameter. I think 'cv=sklearn.model_selection.TimeSeriesSplit(n_splits=10)' should be what you are looking for.
You can define a custom function that takes in a model, and returns the expanded window cross validation score. Then pass that function into 'other_objective_functions'. Make sure to also set 'other_objective_functions_weights'
Does TPOT supports Cross-Validation for Time Series using an Expanding Window, as shown below?
I am thinking on how that could be done, but i still haven't found a solution yet.
The text was updated successfully, but these errors were encountered: