File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,10 @@ model_configs:
2020 contamination : 0.01
2121model_combination_method : ' mean' # method to combine model scores, 'mean', 'min' or 'max'.
2222train_max_n : 2500 # max number of observations for training a model.
23+ train_metric_timestamp_max_days_ago : 30
2324train_min_n : 14 # min number of observations for training a model.
2425score_max_n : 25 # max n to pull for scoring to avoid pulling more than needed.
26+ score_metric_timestamp_max_days_ago : 7
2527preprocess_params :
2628 diff_n : 1 # 1 will use diff, 0 will use raw metric values.
2729 smooth_n : 3 # how much smoothing to apply in preprocessing.
Original file line number Diff line number Diff line change 1818 metric_batch = ' {{ metric_batch }}'
1919 and
2020 metric_type in (' metric' , ' score' )
21+ and
22+ metric_timestamp >= date (' now' , ' -{{ score_metric_timestamp_max_days_ago }} day' )
2123 {% if score_exclude_metrics is defined %}
2224 and
2325 -- Exclude the specified metrics
Original file line number Diff line number Diff line change 1616 metric_batch = ' {{ metric_batch }}'
1717 and
1818 metric_type = ' metric'
19+ and
20+ metric_timestamp >= date (' now' , ' -{{ train_metric_timestamp_max_days_ago }} day' )
1921 {% if train_exclude_metrics is defined %}
2022 and
2123 -- Exclude the specified metrics
You can’t perform that action at this time.
0 commit comments