Prophet includes functionality for time series cross validation to measure forecast error using historical data . This is done by selecting cutoff points in the history, and for each of them fitting the model using data only up to that cutoff point. We can then compare the forecasted values to the actual values.