From 0892b4b9bfb53b9bc36b8f60a836a8ff7c8ed185 Mon Sep 17 00:00:00 2001 From: Ran Date: Mon, 15 May 2017 23:28:31 +0100 Subject: [PATCH] Fix typo in comment (#180) `n.changepoints` changed to `n_changepoints`. The first follows R's coding convention but is incorrect Python. --- python/fbprophet/forecaster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/fbprophet/forecaster.py b/python/fbprophet/forecaster.py index 861c7d6..8839a9d 100644 --- a/python/fbprophet/forecaster.py +++ b/python/fbprophet/forecaster.py @@ -43,7 +43,7 @@ class Prophet(object): not specified, potential changepoints are selected automatically. n_changepoints: Number of potential changepoints to include. Not used if input `changepoints` is supplied. If `changepoints` is not supplied, - then n.changepoints potential changepoints are selected uniformly from + then n_changepoints potential changepoints are selected uniformly from the first 80 percent of the history. yearly_seasonality: Fit yearly seasonality. Can be 'auto', True, or False. weekly_seasonality: Fit weekly seasonality. Can be 'auto', True, or False.