Files
drift/config/presets.py
T
Mark Aron Szulyovszky 7a443d93e4 feat(Transformations): added robust scaler (#223)
* feat(Transformations): added robust scaler

* fix(Config): set back default scaler to MinMax
2022-02-20 00:41:46 +01:00

38 lines
1.0 KiB
Python

from .types import RawConfig, Config
def get_default_config() -> RawConfig:
classification_models = [
"LogisticRegression_two_class",
"LDA",
"NB",
"RFC",
"LGBM",
# "StaticMom",
]
meta_models = ["LogisticRegression_two_class", "LGBM"]
return RawConfig(
dimensionality_reduction_ratio=0.5,
n_features_to_select=50,
sliding_window_size=3800,
retrain_every=1000,
scaler="minmax", # 'normalize' 'minmax' 'standardize' 'robust'
assets=["fivemin_crypto"],
target_asset="BTC_USD",
other_assets=[],
exogenous_data=[],
load_non_target_asset=True,
own_features=["level_2"],
other_features=["z_score"],
exogenous_features=[],
directional_models=classification_models,
meta_models=meta_models,
event_filter="cusum_fixed",
labeling="two_class",
forecasting_horizon=50,
save_models=True,
ensembling_method="voting_soft",
)