mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-09-16 22:20:23 +00:00
commit
a3a35f662f
2 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ class Prophet(object):
|
||||||
# convert to days since epoch
|
# convert to days since epoch
|
||||||
t = np.array(
|
t = np.array(
|
||||||
(dates - pd.datetime(1970, 1, 1))
|
(dates - pd.datetime(1970, 1, 1))
|
||||||
.apply(lambda x: x.days)
|
.dt.days
|
||||||
.astype(np.float)
|
.astype(np.float)
|
||||||
)
|
)
|
||||||
return np.column_stack([
|
return np.column_stack([
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ setup(
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'matplotlib',
|
'matplotlib',
|
||||||
'numpy',
|
'numpy',
|
||||||
'pandas',
|
'pandas>=0.16',
|
||||||
'pystan>=2.8',
|
'pystan>=2.8',
|
||||||
],
|
],
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue