mirror of
https://github.com/webclinic017/drift.git
synced 2026-07-27 18:57:55 +00:00
f762ceed2a
* feat(FeatureExtraction): added fractionally differentiated returns to remove lagged returns * fix(Sweep): config * fix(Sweep): name * fix(Sweep): grid * feat(Config): separated sliding_window_size_level1 & sliding_window_size_level2 * feat(Dependencies): added ray, now using it to parallel process feature extraction * fix(Dependencies): added pip explicitly * fix(Dependencies): removed ray from root * fix(Models): average model was probably not taking the right timestamp to average * feat(Config): separated expanding_window_level1 & expanding_window_level2 * fix(Config): set n_features_to_select to the optimal 30
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
program: run_sweep.py
|
|
method: grid
|
|
project: price-forecasting
|
|
name: Fractional differentiation / number of features
|
|
metric:
|
|
goal: maximize
|
|
name: sharpe
|
|
parameters:
|
|
path :
|
|
value: 'data/'
|
|
expanding_window_level1:
|
|
value: True
|
|
expanding_window_level2:
|
|
value: False
|
|
sliding_window_size_level1:
|
|
value: 380
|
|
sliding_window_size_level2:
|
|
value: 1
|
|
feature_selection:
|
|
value: True
|
|
n_features_to_select:
|
|
values: [10, 20, 30]
|
|
distribution: categorical
|
|
dimensionality_reduction:
|
|
value: True
|
|
retrain_every:
|
|
value: 20
|
|
scaler:
|
|
value: 'minmax'
|
|
include_original_data_in_ensemble:
|
|
value: False
|
|
method:
|
|
value: 'classification'
|
|
no_of_classes:
|
|
value: 'three-balanced'
|
|
forecasting_horizon:
|
|
value: 1
|
|
load_other_assets:
|
|
value: True
|
|
log_returns:
|
|
value: True
|
|
index_column:
|
|
value: 'int'
|
|
level_1_models:
|
|
value: ["LR", "LDA", "KNN", "CART", "NB", "AB", "RF", "StaticMom"]
|
|
level_2_model:
|
|
value: "Ensemble_Average"
|
|
own_features:
|
|
values: [['date_days', 'level_2', 'lags_up_to_5'], ['date_days', 'level_2', 'fracdiff']]
|
|
distribution: categorical
|
|
other_features:
|
|
values: [['level_2', 'lags_up_to_5'], ['level_2', 'fracdiff']]
|
|
distribution: categorical
|