Skip to content

Commit

Permalink
Update ML_benchmarks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
M4 Competition authored Feb 22, 2018
1 parent 823bbed commit 768942a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ML_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 768942a

Please sign in to comment.