Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strategies for positive predictions (e.g. ProphetPos support) #82

Closed
candalfigomoro opened this issue Jul 7, 2021 · 1 comment
Closed
Assignees

Comments

@candalfigomoro
Copy link

In order to force predictions to be positive (this is a common requirement for many business-related time series), the prophet package can be used with the ProphetPos class (see "Approach 5" here: facebook/prophet#1668 (comment)).

It would be nice to add a "ProphetPosModel" to Kats, so we can force predictions to be positive when we use prophet in Kats.

Maybe a positive constraint could also be added to the other models supported by Kats (SARIMA etc.).

@yangbk560
Copy link
Contributor

Thanks for the suggestion and we will keep this in mind for new feature development! Meanwhile, would it make sense to transform the data first (e.g., y' = log(ts)) and build model based on y' then transform it back. In this we can solve the problem of negative forecasts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants