mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-07-30 20:18:11 +00:00
Make sure 'mu' and 'std' are not numpy floats (#2378)
This commit is contained in:
parent
0bc1f9e784
commit
5e54831268
1 changed files with 2 additions and 2 deletions
|
|
@ -367,8 +367,8 @@ class Prophet(object):
|
|||
else:
|
||||
standardize = True
|
||||
if standardize:
|
||||
mu = df[name].mean()
|
||||
std = df[name].std()
|
||||
mu = float(df[name].mean())
|
||||
std = float(df[name].std())
|
||||
self.extra_regressors[name]['mu'] = mu
|
||||
self.extra_regressors[name]['std'] = std
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue