* init
* add suggested packages
* use environment variables and align more with Py package
* remove additional testing logic, default to lbfgs
* Remove Newton specifier from test because cmdstanr expects newton
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.
* 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
* add test and initial function for mdape in R
* Add separate rolling_median_func and tests
* Modify rolling median function
* fix syntax in rolling median function
* sort by h
* R/diagnostics.R
* update .rd docs and notebook
* Add mdape to performance metrics params docstring
* Add test for custom cutoff cv
* implement custom cutoff logic in cv function
* add docstring
* add description in notebook and rebuild .Rd docs
* fix bug and add test case for period is NULL
* replace s.POSIXct set_date
I'm not sure why a data frame ends up with names and a tibble does not, but it doesn't seem like an important enough problem to investigate in detail, and this is a simple fix.
+ cleans up Stan model compilation by switching over to the rstantools-based workflow (see https://mc-stan.org/rstantools/articles/minimal-rstan-package.html for more info)
+ minor documentation change: {devtools} -> {remotes}, which is better for end-users
+ adds RStudio project file which makes it easier for community to get started with contributing to the package