Is your feature request related to a current problem? Please describe.
For num_samples > 1, ExponentialSmoothing.predict() calls HoltWintersResults.simulate with the call self.model.simulate(n, repetitions=num_samples, random_state=rng).
The simulate function has an additional argument random_errors to specify how the random errors should be obtained., e.g. by using another distribution function that should be fitted to the residuals or by directly sampling from the random errors.
This argument is currently not exposed.
Describe proposed solution
Add random_errors argument to ExponentialSmoothing.predict() and pass it to self.model.simulate
Describe potential alternatives
Creating a subclass of ExponentialSmoothing with a custom predict which is more of a workaround.
Additional context
Is your feature request related to a current problem? Please describe.
For
num_samples > 1,ExponentialSmoothing.predict()calls HoltWintersResults.simulate with the call self.model.simulate(n, repetitions=num_samples, random_state=rng).The simulate function has an additional argument
random_errorsto specify how the random errors should be obtained., e.g. by using another distribution function that should be fitted to the residuals or by directly sampling from the random errors.This argument is currently not exposed.
Describe proposed solution
Add
random_errorsargument toExponentialSmoothing.predict()and pass it toself.model.simulateDescribe potential alternatives
Creating a subclass of ExponentialSmoothing with a custom predict which is more of a workaround.
Additional context