Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Machine Learning for Time Series with Python
  • Table Of Contents Toc
Machine Learning for Time Series with Python

Machine Learning for Time Series with Python - Second Edition

By : Ben Auffarth
close
close
Machine Learning for Time Series with Python

Machine Learning for Time Series with Python

By: Ben Auffarth

Overview of this book

The Python ecosystem offers a wide range of tools for time series analysis and time series forecasting. Machine Learning for Time Series, Second Edition provides a practical guide to building forecasting systems while developing a solid understanding of modern predictive modeling techniques. Starting with the fundamentals of time series data, you'll learn how to prepare datasets, perform feature engineering, and build forecasting pipelines. The book covers traditional methods such as ARIMA, SARIMA, and GARCH, alongside machine learning approaches including gradient boosting, recurrent neural networks, and deep learning models. Through practical examples and clear explanations, you'll learn how to choose the right model for the right problem and improve forecasting accuracy across multiple applications. Updated content includes forecasting and signal extraction for financial markets, plus case studies from operations management, digital marketing, healthcare, and financial forecasting. By the end of this book, you'll be able to confidently perform time series analysis and build effective forecasting systems using Python.
Table of Contents (7 chapters)
close
close

Join our book community on Discord

Image

https://packt.link/EarlyAccessCommunity

Time series problems are critical in industry and academia, with applications ranging from stock market analysis to predicting consumer behavior in retail. As the landscape of machine learning for time series continues to evolve, practitioners are faced with a vast array of libraries and algorithms. However, building reliable forecasting systems requires the understanding of what makes time series fundamentally different from the cross-sectional data that most machine learning methods assume. Building such systems end to end is what this book teaches: modern models including time-series foundation models, global and hierarchical forecasting, conformal prediction intervals, drift detection, and the operational habits production demands.

In this chapter, we will explore why modern, technically advanced forecasting systems can fail spectacularly when faced with unexpected events, a phenomenon we call the Prediction Paradox. We will examine case studies from major retailers like Target and Amazon during the COVID-19 pandemic and the historical precedent set by Nike's supply chain disaster to understand this enduring challenge. We will also introduce the Iceberg Problem, which illustrates that the visible algorithm is only 5% of the work, while the hidden 95%—including data engineering, validation strategy, and monitoring—ultimately determines production success. Both ideas are why we treat conformal prediction as foundational rather than an afterthought: paradox-prone models need coverage guarantees, and operating safely on the iceberg's hidden 95% means knowing when a forecast cannot be trusted.

After reading this chapter, you will understand what makes time series data unique, know the main types of time series problems, and have a framework for approaching any temporal analysis project. The sections are structured as follows:

  • The evolution of forecasting methods
  • When do smart models fail?
  • What is a time series?
  • Why algorithms aren't enough
  • Why choose Python?
  • Common pitfalls and how to avoid them

Let's have a look at how forecasting and time series methods have changed throughout history as we take a whirlwind quest from star charts to supercomputers.

Your purchase includes a free PDF copy + exclusive extras

Your purchase includes a DRM-free PDF copy of this book, 7-day trial to the Packt+ library (no credit card required), and additional exclusive extras. See the Free benefits with your book section in the Preface to unlock them instantly and maximize your learning.

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon