]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
fix(qav3): sensible default prediction_thresholds_alpha value, take 3
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 30 Jul 2025 00:37:42 +0000 (02:37 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 30 Jul 2025 00:37:42 +0000 (02:37 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py

index 1046cde3d9f3775af5678ce8e31b54859de30a66..a0a843f04e976aad3b9805929b7c5149f856e330 100644 (file)
@@ -542,7 +542,7 @@ class QuickAdapterRegressorV3(BaseRegressionModel):
         }
         if thresholds_smoothing == "exp_weighted_mean":
             thresholds_alpha = float(
-                self.freqai_info.get("prediction_thresholds_alpha", 25.0)
+                self.freqai_info.get("prediction_thresholds_alpha", 75.0)
             )
             return QuickAdapterRegressorV3.exp_weighted_mean_min_max(
                 pred_extrema, thresholds_alpha