mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-16 20:38:07 +00:00
feat(Config): feature extractors are enabled one-by-one with a bool, added previous model to model.fit() (#77)
* feat(Config): feature extractors are enabled one-by-one with a bool, added previous model to model.fit() * fix(Sweep): removed unused `other_features` parameter that fails sweep * feat(Config): using preset names for defining feature extractors again * fix(Tests): fixed model stub classes
This commit is contained in:
@@ -58,7 +58,7 @@ def walk_forward_train_test(
|
||||
X_slice = X_slice.to_numpy()
|
||||
|
||||
current_model = model.clone()
|
||||
current_model.fit(X_slice, y_slice.to_numpy())
|
||||
current_model.fit(X_slice, y_slice.to_numpy(), models[index-1])
|
||||
iterations_before_retrain = retrain_every
|
||||
else:
|
||||
current_model = models[index-1]
|
||||
|
||||
Reference in New Issue
Block a user