Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Forecasting Time Series Data with Prophet

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

Arrow left icon
Product type Paperback
Published in Mar 2023
Publisher Packt
ISBN-13 9781837630417
Length 282 pages
Edition 2nd 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 (20) Chapters Close

Preface 1. Part 1: Getting Started with Prophet
2. Chapter 1: The History and Development of Time Series Forecasting FREE CHAPTER 3. Chapter 2: Getting Started with Prophet 4. Chapter 3: How Prophet Works 5. Part 2: Seasonality, Tuning, and Advanced Features
6. Chapter 4: Handling Non-Daily Data 7. Chapter 5: Working with Seasonality 8. Chapter 6: Forecasting Holiday Effects 9. Chapter 7: Controlling Growth Modes 10. Chapter 8: Influencing Trend Changepoints 11. Chapter 9: Including Additional Regressors 12. Chapter 10: Accounting for Outliers and Special Events 13. Chapter 11: Managing Uncertainty Intervals 14. Part 3: Diagnostics and Evaluation
15. Chapter 12: Performing Cross-Validation 16. Chapter 13: Evaluating Performance Metrics 17. Chapter 14: Productionalizing Prophet 18. Index 19. Other Books You May Enjoy

What this book covers

Chapter 1, The History and Development of Time Series Forecasting, will teach you about the earliest efforts to understand time series data and the main algorithmic developments up to the present day.

Chapter 2, Getting Started with Prophet, will walk you through the process of getting Prophet running on your machine, and then will test your installation by building your first model.

Chapter 3, How Prophet Works, will discuss why Facebook (now Meta) decided to build its own forecasting package and how the philosophy of analyst-in-the-loop forecasting applies to Prophet. This chapter will also present the mathematical equations underpinning the forecasting algorithms within Prophet.

Chapter 4, Handling Non-Daily Data, will cover how to modify the approach taken in Chapter 2, Getting Started with Prophet, in order to handle data that is recorded on a scale other than daily, so that you will be set up to work through all of the examples in later chapters.

Chapter 5, Working with Seasonality, will discuss all of the ways to control seasonality in Prophet. Seasonality is one of the building blocks of Prophet models and contains the most control parameters, so this chapter is the longest but also one of the most important.

Chapter 6, Forecasting Holiday Effects, will teach you how to add the effect of holidays to your forecast. You will learn how to include a basic set of default holidays, how to change that set for different regions, how to add your own custom holidays, and how to control the strength of the effect.

Chapter 7, Controlling Growth Modes, will describe the three growth modes a trend line in Prophet can follow: linear, logistic, and flat. You will learn which scenarios to apply these modes to and observe what effect they have on your future forecasts.

Chapter 8, Influencing Trend Changepoints, will talk about how to control the rigidity of your final model. You will learn how to make a flexible model that can change direction often or a rigid model that follows a constant line, why you may choose one or the other, and about the effect this has on the uncertainty of your model being used on future data.

Chapter 9, Including Additional Regressors, will teach you how to include additional columns of data in your model. Similar to multi-variate regression, Prophet is able to combine multiple input vectors in a predictive forecast.

Chapter 10, Accounting for Outliers and Special Events, will show you the two types of problems that outliers can cause in a Prophet model and will teach you several automated techniques for identifying outliers and how to handle them with Prophet.

Chapter 11, Managing Uncertainty Intervals, will cover how to quantify the uncertainty in your model using different statistical methods, what the benefits and drawbacks of each method are, and how to visualize the amount of risk in your model.

Chapter 12, Performing Cross-Validation, will teach you how to perform cross-validation in Prophet. You may already be familiar with cross-validation techniques in machine learning, but with time-series data, a different approach is needed. This chapter will teach you that approach and how to implement it in Prophet.

Chapter 13, Evaluating Performance Metrics, will build upon the previous chapter and introduce the performance metrics Prophet features. You will learn how to combine cross-validation with your chosen performance metric to carry out a grid search and optimize your model to gain the highest predictive accuracy.

Chapter 14, Productionalizing Prophet, is the final chapter and will teach you some additional techniques that will come in handy when using Prophet in a production environment. You will learn how to save your models for later use, how to update models as new data comes in, and how to use Prophet’s Plotly plot functions to build highly interactive charts suitable for sharing on a web-based dashboard.

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 $19.99/month. Cancel anytime
Banner background image