mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-20 22:38:10 +00:00
feat(Tests): added basic unit tests for walk_forward_train_test() (#22)
* feat(Tests): added basic unit tests for walk_forward_train_test() * fix(Tests): inherit from BaseEstimator, fix index problems in walk_forward_train_test * fix(WalkForward): predictions were mistakenly removed, oops * fix(WalkForward): mistakenly re-assiging model
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ results = pd.DataFrame()
|
||||
all_assets = get_all_assets('data/')
|
||||
|
||||
for asset in all_assets:
|
||||
for method in ['regression', 'classification']:
|
||||
for method in ['regression']:
|
||||
current_result = run_whole_pipeline(
|
||||
ticker_to_predict = asset,
|
||||
models = regression_models if method == 'regression' else classification_models,
|
||||
|
||||
Reference in New Issue
Block a user