mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-12 18:38:06 +00:00
* feat: Added optional import of models. * fix: Models weren't wrapped into abstract class, fixed it. * chore: Deleted leftover comments. * fix: Same merge commit as on remote. * fix: System wasn't putting in RF because there was no differentiation between RF as regressor and RF as classificator. * fix(Models): use the XGBoostModel wrapper Co-authored-by: Daniel Szemerey <szemereydaniel@gmail.com> Co-authored-by: Mark Aron Szulyovszky <mark.szulyovszky@gmail.com>
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
program: run_sweep.py
|
|
method: grid
|
|
project: price-forecasting
|
|
name: Meta labelling
|
|
metric:
|
|
goal: maximize
|
|
name: sharpe
|
|
parameters:
|
|
primary_models_meta_labeling:
|
|
value: True
|
|
assets:
|
|
value: ['daily_crypto']
|
|
other_assets:
|
|
value: ['daily_etf']
|
|
exogenous_data:
|
|
value: ['daily_glassnode']
|
|
expanding_window_primary:
|
|
value: True
|
|
expanding_window_meta_labeling:
|
|
value: True
|
|
sliding_window_size_primary:
|
|
value: 380
|
|
sliding_window_size_meta_labeling:
|
|
values: [250, 300, 380]
|
|
distribution: categorical
|
|
n_features_to_select:
|
|
values: [40, 50, 60]
|
|
distribution: categorical
|
|
dimensionality_reduction:
|
|
value: True
|
|
retrain_every:
|
|
value: 20
|
|
scaler:
|
|
value: 'minmax'
|
|
method:
|
|
value: 'classification'
|
|
no_of_classes:
|
|
value: 'two'
|
|
forecasting_horizon:
|
|
value: 1
|
|
load_non_target_asset:
|
|
value: True
|
|
log_returns:
|
|
value: True
|
|
index_column:
|
|
value: 'int'
|
|
primary_models:
|
|
distribution: categorical
|
|
values:
|
|
- ["LDA", "LR_two_class", "KNN", "SVC", "CART", "NB", "AB", "RFC", "XGB_two_class", "LGBM", "StaticMom"]
|
|
- ["LR_two_class", "LDA", "NB", "RFC", "XGB_two_class", "LGBM", "StaticMom"]
|
|
- ["LR_two_class", "LDA", "LGBM", "RFC", "XGB_two_class"]
|
|
meta_labeling_models:
|
|
value: ["LGBM", "LR_two_class"]
|
|
own_features:
|
|
value: ['date_days', 'level_2', 'lags_up_to_5']
|
|
other_features:
|
|
value: ['level_2', 'lags_up_to_5']
|
|
exogenous_features:
|
|
value: ['z_score']
|