facebook/prophet

Clarify Valid Unit Types if Unit Type is Unrecognized

Open

#1.989 geöffnet am 8. Aug. 2021

Auf GitHub ansehen
 (2 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Python (4.451 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (17.686 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide