Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Forecasting Time Series Data with Facebook Prophet

You're reading from   Forecasting Time Series Data with Facebook Prophet Build, improve, and optimize time series forecasting models using the advanced forecasting tool

Arrow left icon
Product type Paperback
Published in Mar 2021
Publisher Packt
ISBN-13 9781800568532
Length 270 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Greg Rafferty Greg Rafferty
Author Profile Icon Greg Rafferty
Greg Rafferty
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: Getting Started
2. Chapter 1: The History and Development of Time Series Forecasting FREE CHAPTER 3. Chapter 2: Getting Started with Facebook Prophet 4. Section 2: Seasonality, Tuning, and Advanced Features
5. Chapter 3: Non-Daily Data 6. Chapter 4: Seasonality 7. Chapter 5: Holidays 8. Chapter 6: Growth Modes 9. Chapter 7: Trend Changepoints 10. Chapter 8: Additional Regressors 11. Chapter 9: Outliers and Special Events 12. Chapter 10: Uncertainty Intervals 13. Section 3: Diagnostics and Evaluation
14. Chapter 11: Cross-Validation 15. Chapter 12: Performance Metrics 16. Chapter 13: Productionalizing Prophet 17. Other Books You May Enjoy

Chapter 11: Cross-Validation

The concept of keeping training data and testing data separate is sacrosanct in machine learning and statistics. You should never train a model and test its performance on the same data. Setting data aside for testing purposes has a downside, though: that data has valuable information that you would want to include in training. Cross-validation is a technique that's used to circumvent this problem.

You may be familiar with k-fold cross-validation, but if you are not, we will briefly cover it in this chapter. K-fold, however, will not work on time series. It requires that the data be independent, an assumption that time series data does not hold. An understanding of k-fold will help you learn how forward-chaining cross-validation works and why it is necessary for time series data.

After learning how to perform cross-validation in Prophet, you will learn how to speed up the computing of cross-validation through Prophet's ability to parallelize...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime