facebook/prophet

Clarify Valid Unit Types if Unit Type is Unrecognized

オープン

#1,989 opened on 2021/08/08

 (2 件のコメント) (2 件のリアクション) (0 人の担当者)Python (4,451 件のフォーク)batch import
enhancementgood first issue

Repository metrics

Stars
 (17,686 個のスター)
PR merge metrics
 (PR metrics pending)

説明

I'm trying to use prophet cross_validation but I received a value error for unrecognized type when I try:

df_cv = cross_validation(m, initial='120 months', period='12 months', horizon = '12 months')

I think the error should return a list of valid types so that I don't have to go look up why months aren't recognized as a valid unit.

コントリビューターガイド