Reader small image

You're reading from  Forecasting Time Series Data with Facebook Prophet

Product typeBook
Published inMar 2021
Reading LevelBeginner
PublisherPackt
ISBN-139781800568532
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Greg Rafferty
Greg Rafferty
author image
Greg Rafferty

Greg Rafferty is a data scientist in San Francisco, California. With over a decade of experience, he has worked with many of the top firms in tech, including Google, Facebook, and IBM. Greg has been an instructor in business analytics on Coursera and has led face-to-face workshops with industry professionals in data science and analytics. With both an MBA and a degree in engineering, he is able to work across the spectrum of data science and communicate with both technical experts and non-technical consumers of data alike.
Read more about Greg Rafferty

Right arrow

Updating a fitted model

Forecasting is unique among predictive models in that the value of the data is its recency and each passing moment creates a new set of valuable data to use. A common situation with a forecast model is the need to refit it as more data comes in. The city of Baltimore, for example, may use the crime model to predict how many crimes they might expect to happen tomorrow, so as to better place their officers in advance. Once tomorrow arrives, they can record the actual data, retrain their model, and predict for the next day.

Prophet is unable to handle online data, which means it cannot add a single new data observation and quickly update the model. Prophet must be trained offline—the new observation will be added to the existing data and the model will be completely retrained. But it doesn't have to be completely retrained from scratch and the following technique will save a lot of time when retraining.

Prophet is essentially an optimization problem...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Forecasting Time Series Data with Facebook Prophet
Published in: Mar 2021Publisher: PacktISBN-13: 9781800568532

Author (1)

author image
Greg Rafferty

Greg Rafferty is a data scientist in San Francisco, California. With over a decade of experience, he has worked with many of the top firms in tech, including Google, Facebook, and IBM. Greg has been an instructor in business analytics on Coursera and has led face-to-face workshops with industry professionals in data science and analytics. With both an MBA and a degree in engineering, he is able to work across the spectrum of data science and communicate with both technical experts and non-technical consumers of data alike.
Read more about Greg Rafferty