* cmdstan variable extraction update
* add backwards compatibility
* Fix bug
* Upgrade stan version in requirements and in CI testing
Co-authored-by: Ben Letham <bletham@gmail.com>
* function code
* add tests for regressor coefficients utility
* add documentation for regressor_coefficients util function
* generate Rd docs
* add regressor_coefficients to R namespace
* minor formatting nit
* fix bugs
* added `flat_growth_init()` function
* added validation for 'flat'
* changed `fit.prophet()` to handle `growth='flat'`
* added `trend='flat'` capabilities to `sample_predictive_trend()` and `fit.prophet()`
* updated STAN code to handle flat trend
* [Syntax fix] Removed unnecessary bracket
* updated documentation
* undid formatting that was accidentally applied by autoformatter
* undid more formatting that was accidentally applied by autoformatter
* added tests
* typo in `sample_predictive_trend()`
* updated notebook with example in R
* updated documentation
* used regex to format the `name`
Removes all singlequotes (') and doublequotes (") in the `name` variable
and replaces all whitespace with an underscore. Now, `ggplot2::aes_string()` can handle a column
name like `New Year's Day`.
* Used backticks in the `name` variable instead of regular expressions
Essentially, I escaped the string `name` with backticks so that
`ggplot2::geom_line()` and `ggplot2::ggplot()` functions can use any
arbitrary input.
* Added optional colour to plot_cross_validation_metric to facilitate the comparison of different model's performance on the one plot
* use color
Change from colour to color for consistency.
Co-authored-by: Ben Letham <bletham@gmail.com>
* Add DeepSource config
* Simplify if statement
* Refactor use of dict() with empty literal
* Use set comprehension syntax
* Refactor chained comparison
* Rewrite instances of list literal within set() as set literals
* Add test_slow to class definition
* Add SMAPE to diagnostics.R
Add symmetric mean absolute percentage error.
Include mdape and smape as default performance metrics.
* Add SMAPE to diagnostics.R
Add symmetric mean absolute percentage error.
Include mdape and smape as default performance metrics.
* sMAPE minor code formatting improvements
* Fixed smape function in diagnostics.R
* Update performance_metrics() in diagnostics.py
Include smape as a valid metric.
Add support for monthly horizons.
* Update performance_metrics() docstring
* Update performance_metrics() docstring
* Include smape in test_diagnostics.py
* sMAPE code formatting improvement