From 2e1061af649a8963f480e0fee2b4ee29e23d80aa Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 9 Jul 2022 08:21:42 +0000 Subject: [PATCH] Fix faulty LightGBM model --- freqtrade/freqai/prediction_models/LightGBMPredictionModel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqai/prediction_models/LightGBMPredictionModel.py b/freqtrade/freqai/prediction_models/LightGBMPredictionModel.py index 8e4e0fd42..241712243 100644 --- a/freqtrade/freqai/prediction_models/LightGBMPredictionModel.py +++ b/freqtrade/freqai/prediction_models/LightGBMPredictionModel.py @@ -104,9 +104,9 @@ class LightGBMPredictionModel(IFreqaiModel): # logger.info("--------------------Starting prediction--------------------") - original_feature_list = dk.find_features(unfiltered_dataframe) + dk.find_features(unfiltered_dataframe) filtered_dataframe, _ = dk.filter_features( - unfiltered_dataframe, original_feature_list, training_filter=False + unfiltered_dataframe, dk.training_features_list, training_filter=False ) filtered_dataframe = dk.normalize_data_from_metadata(filtered_dataframe) dk.data_dictionary["prediction_features"] = filtered_dataframe