prophet icon indicating copy to clipboard operation
prophet copied to clipboard

Warm-start model fitting notebook crashes

Open gsamaras opened this issue 2 years ago • 3 comments

Cell 5 of the notebook, where warm-start fitting happens, crashes with the following error: AttributeError: 'list' object has no attribute 'tolist'.

Prophet version is 1.1.1, and you can see full details in this StackOverflow question.

gsamaras avatar Aug 03 '23 07:08 gsamaras

Are you using R? if you are, try use as.list(X), X being your variable, if you are using python try: list(X)

AlexandroLuis avatar Aug 08 '23 11:08 AlexandroLuis

Hi @AlexandroLuis, as you can see in the SO question, I am using Python and a typical dataframe for Prophet (with columns ds and y). Not sure how to apply your suggestion.

gsamaras avatar Aug 08 '23 12:08 gsamaras

Hi @AlexandroLuis, as you can see in the SO question, I am using Python and a typical dataframe for Prophet (with columns ds and y). Not sure how to apply your suggestion.

In the example notebook there's a implementation to R and Python, I think it's a package outdated in this older version, i'm on 1.1.2 and it's working? can you update the prophet? if no, you can try to use a olderverion of the pakage that is giving the error, can you share the output?

AlexandroLuis avatar Aug 08 '23 12:08 AlexandroLuis