documentation update

This commit is contained in:
bl 2017-07-29 17:36:03 -07:00
parent aabb7e0547
commit b76ebf18bb
3 changed files with 30 additions and 38 deletions

View file

@ -444,7 +444,8 @@ make_holiday_features <- function(m, dates) {
#' components.
#'
#' Increasing the number of Fourier components allows the seasonality to change
#' more quickly (at risk of overfitting).
#' more quickly (at risk of overfitting). Default values for yearly and weekly
#' seasonalities are 10 and 3 respectively.
#'
#' @param m Prophet object.
#' @param name String name of the seasonality component.

View file

@ -49,9 +49,7 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -125,9 +123,7 @@
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"m = Prophet()\n",
@ -144,9 +140,7 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -213,9 +207,7 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -300,9 +292,7 @@
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -329,9 +319,7 @@
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -348,6 +336,13 @@
"m.plot_components(forecast);"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"More details about the options available for each method are available in the docstrings, for example, via `help(Prophet)` or `help(Prophet.fit)`."
]
},
{
"cell_type": "markdown",
"metadata": {},
@ -361,7 +356,6 @@
"cell_type": "code",
"execution_count": 9,
"metadata": {
"collapsed": false,
"output_hidden": true
},
"outputs": [
@ -408,9 +402,7 @@
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"%%R\n",
@ -429,7 +421,6 @@
"cell_type": "code",
"execution_count": 11,
"metadata": {
"collapsed": false,
"output_hidden": true
},
"outputs": [
@ -471,9 +462,7 @@
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -507,9 +496,7 @@
{
"cell_type": "code",
"execution_count": 13,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -543,9 +530,7 @@
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -570,9 +555,7 @@
{
"cell_type": "code",
"execution_count": 15,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [
{
"data": {
@ -586,6 +569,13 @@
"%%R -w 9 -h 9 -u in\n",
"prophet_plot_components(m, forecast)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"More details about the options available for each method are available in the docstrings, for example, via `?prophet` or `?fit.prophet`. This documentation is also available in the [reference manual](https://cran.r-project.org/web/packages/prophet/prophet.pdf) on CRAN."
]
}
],
"metadata": {
@ -608,5 +598,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 0
"nbformat_minor": 1
}

View file

@ -443,7 +443,8 @@ class Prophet(object):
components.
Increasing the number of Fourier components allows the seasonality to
change more quickly (at risk of overfitting).
change more quickly (at risk of overfitting). Default values for yearly
and weekly seasonalities are 10 and 3 respectively.
Parameters
----------