From f04dd7c687f4fe0591df9b0526c97793d32d6850 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 30 Jul 2025 01:46:06 +0200 Subject: [PATCH] fix(qav3): sensible default prediction_thresholds_alpha value MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0