From 6c491ee02e261b1571cb9f6914d0466e125ff41b Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 27 Sep 2022 18:17:49 +0200 Subject: [PATCH] Update missed changes to plot_feature_importance --- config_examples/config_freqai.example.json | 2 +- freqtrade/constants.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config_examples/config_freqai.example.json b/config_examples/config_freqai.example.json index fe5e35c1d..db8ae7181 100644 --- a/config_examples/config_freqai.example.json +++ b/config_examples/config_freqai.example.json @@ -78,7 +78,7 @@ 10, 20 ], - "plot_feature_importance": false + "plot_feature_importances": 0 }, "data_split_parameters": { "test_size": 0.33, diff --git a/freqtrade/constants.py b/freqtrade/constants.py index 4c2bd6e18..e14e81343 100644 --- a/freqtrade/constants.py +++ b/freqtrade/constants.py @@ -552,7 +552,7 @@ CONF_SCHEMA = { "weight_factor": {"type": "number", "default": 0}, "principal_component_analysis": {"type": "boolean", "default": False}, "use_SVM_to_remove_outliers": {"type": "boolean", "default": False}, - "plot_feature_importance": {"type": "boolean", "default": False}, + "plot_feature_importances": {"type": "integer", "default": 0}, "svm_params": {"type": "object", "properties": { "shuffle": {"type": "boolean", "default": False},