facebook / facebook/prophet

cross_validation() got an unexpected keyword argument 'cutoffs'

オープン
#1,862 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
20.4k
フォーク
4.6k
平均マージ
19時間 52分
マージ済み PR(30日)
1

説明

cutof = pd.to_datetime(['2018-01-01','2018-02-01','2018-03-01',
'2018-04-01','2018-05-01','2018-06-01','2018-07-01',
'2018-08-01','2018-09-01','2018-10-01','2018-11-01','2018-12-01','2019-01-01','2019-02-01',
'2019-03-01','2019-04-01','2019-05-01','2019-06-01','2019-07-01','2019-08-01','2019-09-01',
'2019-10-01','2019-11-01','2019-12-01','2020-01-01','2020-02-01','2020-03-01','2020-04-01',
'2020-05-01','2020-06-01','2020-07-01','2020-08-01','2020-09-01','2020-10-01','2020-11-01',
'2020-12-01'])
df_cv2 = cross_validation(model, cutoffs=cutof, horizon='365 days')

Why am I getting an error here?
I have 24 months of data and I am trying to cross-validate my model using custom cutoffs and I am using fbprophet 0.6 version for this.
Can someone help me implement cross-validation for monthly data?

![Screenshot 2021-03-30 111733](https://user-images.githubusercontent.com/45842056/113021802-9007c300-9149-11eb-91bf-a769f0789cd4.png)
![Uploading Screenshot 2021-03-30 111733.png…]()

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。