facebook/prophet

Clarify Valid Unit Types if Unit Type is Unrecognized

Open

#1989 aperta il 8 ago 2021

Vedi su GitHub
 (2 commenti) (2 reazioni) (0 assegnatari)Python (4451 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (17.686 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor