From f2386d5a241cd082a5ff87565496197e1a391be6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 22 Jan 2025 14:59:33 +0100 Subject: [PATCH] chore: add .editorconfig for real MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .editorconfig | 22 +++++++++++++++++++++ quickadapter/user_data/config-template.json | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1ad15ee --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf +max_line_length = 100 + +[*.py] +indent_style = space +indent_size = 4 + +[*.md] +max_line_length = off +trim_trailing_whitespace = false + +[{Makefile,**.mk}] +# Use tabs for indentation (Makefiles require tabs) +indent_style = tab diff --git a/quickadapter/user_data/config-template.json b/quickadapter/user_data/config-template.json index 37f3f0c..e491bfc 100644 --- a/quickadapter/user_data/config-template.json +++ b/quickadapter/user_data/config-template.json @@ -132,6 +132,7 @@ "identifier": "quickadapter-xgboost", "fit_live_predictions_candles": 300, "track_performance": false, + "data_kitchen_thread_count": 8, // set to number of CPU threads / 2 "weibull_outlier_threshold": 0.999, "optuna_hyperopt": false, "extra_returns_per_train": { @@ -179,6 +180,7 @@ "model_training_parameters": { // "device": "gpu", // "use_rmm:": true, + "nthread": 8, // set to number of CPU threads / 2 "verbosity": 1 } }, -- 2.43.0