From 8ac8d53c321966aa15b70369a67d7e9ca201bbdb Mon Sep 17 00:00:00 2001 From: robcaulk Date: Sun, 3 Jul 2022 16:30:01 +0200 Subject: [PATCH] All LGBMRegressor model parameters are now set in config --- freqtrade/freqai/prediction_models/LightGBMPredictionModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqai/prediction_models/LightGBMPredictionModel.py b/freqtrade/freqai/prediction_models/LightGBMPredictionModel.py index 17700a97f..8e4e0fd42 100644 --- a/freqtrade/freqai/prediction_models/LightGBMPredictionModel.py +++ b/freqtrade/freqai/prediction_models/LightGBMPredictionModel.py @@ -85,7 +85,7 @@ class LightGBMPredictionModel(IFreqaiModel): X = data_dictionary["train_features"] y = data_dictionary["train_labels"] - model = LGBMRegressor(seed=42, n_estimators=2000, verbosity=1, force_col_wise=True) + model = LGBMRegressor(**self.model_training_parameters) model.fit(X=X, y=y, eval_set=eval_set) return model