mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-16 20:38:07 +00:00
refactor(WalkForward): separate train / test functions to help with inference later (#158)
* refactor(WalkForward): separate train / test functions (draft) to potentially help with inference later * fix(Training): use the new separate train / test functions * feat(Training): return and pass in scalers that are necessary for inference * fix(Project): runtime errors * fix(WalkForward): use the correct `train_from` value * fix(Tests): for new walk_forward functions() * refactor(WalkForward): rename `walk_forward_test()` to `walk_forward_inference()`
This commit is contained in:
+3
-3
@@ -10,7 +10,7 @@ def get_dev_config() -> tuple[dict, dict, dict]:
|
||||
sliding_window_size_primary = 380,
|
||||
sliding_window_size_meta_labeling = 1,
|
||||
retrain_every = 20,
|
||||
scaler = 'minmax', # 'normalize' 'minmax' 'standardize' 'none'
|
||||
scaler = 'minmax', # 'normalize' 'minmax' 'standardize'
|
||||
)
|
||||
|
||||
data_config = dict(
|
||||
@@ -53,7 +53,7 @@ def get_default_ensemble_config() -> tuple[dict, dict, dict]:
|
||||
sliding_window_size_primary = 380,
|
||||
sliding_window_size_meta_labeling = 240,
|
||||
retrain_every = 20,
|
||||
scaler = 'minmax', # 'normalize' 'minmax' 'standardize' 'none'
|
||||
scaler = 'minmax', # 'normalize' 'minmax' 'standardize'
|
||||
)
|
||||
|
||||
data_config = dict(
|
||||
@@ -98,7 +98,7 @@ def get_lightweight_ensemble_config() -> tuple[dict, dict, dict]:
|
||||
sliding_window_size_primary = 380,
|
||||
sliding_window_size_meta_labeling = 240,
|
||||
retrain_every = 20,
|
||||
scaler = 'minmax', # 'normalize' 'minmax' 'standardize' 'none'
|
||||
scaler = 'minmax', # 'normalize' 'minmax' 'standardize'
|
||||
)
|
||||
|
||||
data_config = dict(
|
||||
|
||||
Reference in New Issue
Block a user