From ca8c2b995e35e591c3a056647e2a2ea6f5d248f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 12 Jun 2025 10:57:31 +0200 Subject: [PATCH] chore(qav3): sensible default configuration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- quickadapter/user_data/config-template.json | 5 +++++ .../user_data/freqaimodels/QuickAdapterRegressorV3.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/quickadapter/user_data/config-template.json b/quickadapter/user_data/config-template.json index 589d5b5..7d2bdc3 100644 --- a/quickadapter/user_data/config-template.json +++ b/quickadapter/user_data/config-template.json @@ -154,6 +154,11 @@ // "1d" ], "label_period_candles": 100, + "label_metric": "euclidean", + "label_weights": [ + 0.25, + 0.75 + ], "include_shifted_candles": 6, "DI_threshold": 10, "weight_factor": 0.9, diff --git a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py index ba53065..244f0cd 100644 --- a/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py +++ b/quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py @@ -1532,7 +1532,7 @@ def label_objective( max_label_period_candles, step=candles_step, ) - label_natr_ratio = trial.suggest_float("label_natr_ratio", 5.0, 15.0, step=0.01) + label_natr_ratio = trial.suggest_float("label_natr_ratio", 4.0, 14.0, step=0.01) df = df.iloc[ -( -- 2.43.0