Different results of same prediction #301
-
Hello, I'm new to Python and forecasting as well. I installed neural_prophet 0.2.8 on Windows and I'm trying to run a basic prediction with the example data "retail sales". Here is my code:
However, each time I run the code, I get different results
So what did I do wrong or am I being misunderstanding anything here? Any help would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @com-network |
Beta Was this translation helpful? Give feedback.
Hi @com-network
First off, thank you for sharing a proper code snippet!
Second, you may find an anser here: #224
tl;dr: this is expected behavior, but you can prevent it from happening by setting the seed (see linked documentation in #224).