From 6ffb8b7a7017b834420a8de2f75a753a54a8f9c1 Mon Sep 17 00:00:00 2001 From: hroff-1902 Date: Mon, 23 Sep 2019 13:25:31 +0300 Subject: [PATCH] Fix wordings in comment --- freqtrade/optimize/hyperopt.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freqtrade/optimize/hyperopt.py b/freqtrade/optimize/hyperopt.py index 04a05dc8f..09d821962 100644 --- a/freqtrade/optimize/hyperopt.py +++ b/freqtrade/optimize/hyperopt.py @@ -358,8 +358,9 @@ class Hyperopt: """ n = len(self.opt.models) - SKOPT_MODELS_MAX_NUM # Keep no more than 2*SKOPT_MODELS_MAX_NUM models in the skopt models list, - # remove the old ones. These are no really needed, the current model - # from the estimator is only used. + # remove the old ones. These are actually of no use, the current model + # from the estimator is the only one used in the skopt optimizer. + # Freqtrade code also does not inspect details of the models. if n >= SKOPT_MODELS_MAX_NUM: logger.debug(f"Fixing skopt models list, removing {n} old items...") del self.opt.models[0:n]