ankane / prophet-ruby

Time series forecasting for Ruby
MIT License
396 stars 11 forks source link

Allow constant trend - feature #4

Closed gmverdon closed 3 years ago

gmverdon commented 3 years ago

For my model I need a flat trend like mentioned here: https://github.com/facebook/prophet/issues/614

When changing the parameter growth to flat while using this package I get the following error:

Parameter "growth" should be "linear" or "logistic".

Thank you for the great gem, hopefully this feature can be added.

ankane commented 3 years ago

Hey @gmverdon, thanks for the suggestion! Added support on master.

gmverdon commented 3 years ago

Works like a charm!