-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support of seasonalities as list of string
Summary: Currently, prophet defines a custom enum for seasonalities. There is no proper way to expose this enum to configerator to validate seasonality param at authoring time. We can add a new thrift structure, but it will add maintenance overhead as we need to keep mapping between thrift structure and the enum. As any python enum class expose the enum as a key, we can use this to have an implicit mapping between gp param and kats enum. This diff enable user to use the seasonality name and the code will convert it to enum during initialization Differential Revision: D51238962 fbshipit-source-id: 5f35f8d8ffcfe3db6b498d1bcdb460004e76c579
- Loading branch information
1 parent
9281502
commit 200b5b4
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters