From 768942a176fc111ed76506138ec49deee7b94fa1 Mon Sep 17 00:00:00 2001 From: M4 Competition Date: Thu, 22 Feb 2018 23:05:52 +0200 Subject: [PATCH] Update ML_benchmarks.py --- ML_benchmarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ML_benchmarks.py b/ML_benchmarks.py index 91974e5..0bc61aa 100644 --- a/ML_benchmarks.py +++ b/ML_benchmarks.py @@ -301,7 +301,7 @@ def main(): y_hat_test_MLP[i - len(ts)] = y_hat_test_MLP[i - len(ts)] * seasonality_in[i % freq] / 100 y_hat_test_RNN[i - len(ts)] = y_hat_test_RNN[i - len(ts)] * seasonality_in[i % freq] / 100 - # check if negative + # check if negative or extreme for i in range(len(y_hat_test_MLP)): if y_hat_test_MLP[i] < 0: y_hat_test_MLP[i] = 0