From 6373afe136cf4862543d9d4fb02228637b31e5f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=C3=B4nio=20C=C3=A2ndido?= Date: Fri, 18 Jan 2019 16:28:57 -0200 Subject: [PATCH] Evolutive bugfixes --- pyFTS/hyperparam/Evolutionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyFTS/hyperparam/Evolutionary.py b/pyFTS/hyperparam/Evolutionary.py index 13a0765..46fb54b 100644 --- a/pyFTS/hyperparam/Evolutionary.py +++ b/pyFTS/hyperparam/Evolutionary.py @@ -144,7 +144,7 @@ def evaluate(dataset, individual, **kwargs): forecasts = model.predict(test) - rmse = Measures.rmse(test[model.order:], forecasts[:-1]) #.get_point_statistics(test, model) + rmse = Measures.rmse(test[model.max_lag:], forecasts[:-1]) #.get_point_statistics(test, model) lengths.append(len(model)) results.append(rmse)