Fitted Prophet not idem potent

Viewed 25

I have fitted a prophet model that I read here.

When running the following code twice, the res.csv is not the same.

Any pointers ?

with open('p.mdl', 'rb') as f:
    m: Prophet = pickle.load(file=f)
test = pd.read_csv('test_ph.csv')
res = m.predict(test)
res.to_csv('res.csv')
0 Answers
Related