-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Milestone
Description
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-16-0235c1cd9218> in <module>()
----> 1 m.fit(serie);
~/.pyenv/versions/3.6.2/envs/manhattan/lib/python3.6/site-packages/fbprophet/forecaster.py in fit(self, df, **kwargs)
832 try:
833 params = model.optimizing(
--> 834 dat, init=stan_init, iter=1e4, **kwargs)
835 except RuntimeError:
836 params = model.optimizing(
~/.pyenv/versions/3.6.2/envs/manhattan/lib/python3.6/site-packages/pystan/model.py in optimizing(self, data, seed, init, sample_file, algorithm, verbose, as_vector, **kwargs)
470 data = {}
471 seed = pystan.misc._check_seed(seed)
--> 472 fit = self.fit_class(data, seed)
473
474 m_pars = fit._get_param_names()
stanfit4anon_model_1fdd477dd8bcc50395c4e25c8741f1c1_7672185744958054027.pyx in stanfit4anon_model_1fdd477dd8bcc50395c4e25c8741f1c1_7672185744958054027.StanFit4Model.__init__()
TypeError: __init__() takes exactly 1 positional argument (2 given)
tillwf, pgr-me, jcrodrigue, alei76, tommybutler and 2 more