From: Jérôme Benoit Date: Tue, 29 Jul 2025 23:46:06 +0000 (+0200) Subject: fix(qav3): sensible default prediction_thresholds_alpha value X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f04dd7c687f4fe0591df9b0526c97793d32d6850;p=freqai-strategies.git fix(qav3): sensible default prediction_thresholds_alpha value Signed-off-by: Jérôme Benoit --- diff --git a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py index 0ce97f7..0fdfd19 100644 --- a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py +++ b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py @@ -542,7 +542,7 @@ class QuickAdapterRegressorV3(BaseRegressionModel): } if thresholds_smoothing == "exp_weighted_mean": thresholds_alpha = float( - self.freqai_info.get("prediction_thresholds_alpha", 0.25) + self.freqai_info.get("prediction_thresholds_alpha", 5.0) ) return QuickAdapterRegressorV3.exp_weighted_mean_min_max( pred_extrema, thresholds_alpha