]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
perf(qav3): defaut thresholds ratio to 1
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 29 Jul 2025 21:00:18 +0000 (23:00 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 29 Jul 2025 21:00:18 +0000 (23:00 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py

index 5bc9ef6d57cae6607c2c4e1386f8ae0c8df205b1..e756fbb1ab70f2668a5b5863223c9b600b2834c7 100644 (file)
@@ -549,7 +549,7 @@ class QuickAdapterRegressorV3(BaseRegressionModel):
             )
         elif thresholds_smoothing in thresholds_smoothing_methods:
             thresholds_ratio = float(
-                self.freqai_info.get("prediction_thresholds_ratio", 0.25)
+                self.freqai_info.get("prediction_thresholds_ratio", 1.0)
             )
             return QuickAdapterRegressorV3.common_min_max(
                 pred_extrema, thresholds_ratio, thresholds_smoothing