https://github.com/nixtla logo
t

Thiago Vidigal

06/13/2023, 7:49 PM
Hi guys! Thanks for the great work that you've done. There is a way to do not allow negative forecasts with statsforcasts?
k

Kevin Kho

06/13/2023, 9:02 PM
I think you can just clip it with postprocessing?
m

Max (Nixtla)

06/13/2023, 9:35 PM
@Thiago Vidigal, thanks for the question. Currently the only alternative is to do as @Kevin Kho proposes. However, if you want us to include it as a feature in
StatsForecast
you can open an issue here: https://github.com/Nixtla/statsforecast/issues/new/choose
Other alternatives are to use transformations on the data before training (like log transforms.)
t

Thiago Vidigal

06/14/2023, 11:08 AM
Tkx for the aswers, I'm already doing like kevin said, it works.
2 Views