-
I have an electric load data for about a year, I trained the model for a data set from Mar 2021 until Mar 2022. After I trained my deepAr model, whenever I change num_samples, I get a different prediction. My understanding is that num_samples is the average of different probabilistic paths (like the ave of multiple forecasts). Is there a way to get somehow fixed prediction? When I increase num_samples to 100 or more, the forecast somehow stays the same, however, I no longer have the fluctuations details of the profile. Here is my code:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You should try setting the seed of MXNet’s random number generator, before doing predictions. See: https://mxnet.apache.org/versions/1.6/api/python/docs/api/mxnet/random/index.html#module-mxnet.random |
Beta Was this translation helpful? Give feedback.
You should try setting the seed of MXNet’s random number generator, before doing predictions. See: https://mxnet.apache.org/versions/1.6/api/python/docs/api/mxnet/random/index.html#module-mxnet.random