From 8998b48d5dce06d1fd2c8495d08491b8eb8931be Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 21 May 2025 21:22:20 +0200 Subject: [PATCH] perf(qav3): refine labeling window optimization 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 71fbf78..5d5c7a7 100644 --- a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py +++ b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py @@ -1159,7 +1159,7 @@ def label_objective( candles_step: int, ) -> tuple[float, int]: min_label_period_candles: int = round_to_nearest_int( - max(fit_live_predictions_candles // 20, candles_step), candles_step + max(fit_live_predictions_candles // 16, candles_step), candles_step ) max_label_period_candles: int = round_to_nearest_int( max(fit_live_predictions_candles // 2, min_label_period_candles), -- 2.43.0