From c759204517d9030392f6e4a8c8b868caae8ef741 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 6 Jun 2025 13:03:33 +0200 Subject: [PATCH] perf(qav3): tune pivots labeling 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 +- quickadapter/user_data/strategies/Utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py index c95519d..5b0695e 100644 --- a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py +++ b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py @@ -1196,7 +1196,7 @@ def zigzag( def calculate_min_slope_strength( pos: int, min_strength: float = 0.5, - max_strength: float = 1.7, + max_strength: float = 1.6, volatility_exponent: float = 1.5, ) -> float: volatility_quantile = calculate_volatility_quantile(pos) diff --git a/quickadapter/user_data/strategies/Utils.py b/quickadapter/user_data/strategies/Utils.py index 28b2afa..7ca2181 100644 --- a/quickadapter/user_data/strategies/Utils.py +++ b/quickadapter/user_data/strategies/Utils.py @@ -462,7 +462,7 @@ def zigzag( def calculate_min_slope_strength( pos: int, min_strength: float = 0.5, - max_strength: float = 1.7, + max_strength: float = 1.6, volatility_exponent: float = 1.5, ) -> float: volatility_quantile = calculate_volatility_quantile(pos) -- 2.43.0