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
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Machine Learning for Time-Series with Python

You're reading from   Machine Learning for Time-Series with Python Use Python to forecast, predict, and detect anomalies with state-of-the-art machine learning methods

Arrow left icon
Product type Paperback
Published in Jun 2026
Publisher Packt
ISBN-13 9781837631339
Length 397 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Ben Auffarth Ben Auffarth
Author Profile Icon Ben Auffarth
Ben Auffarth
Arrow right icon
View More author details
Toc

Table of Contents (3) Chapters Close

1. Machine Learning for Time-Series with Python, Second Edition: Use Python to forecast, predict, and detect anomalies with state-of-the-art machine learning methods
2. Introduction FREE CHAPTER 3. Dealing with Time Series in Python

Which sets of techniques are there for time series?

There are many different techniques that can be used for each of these problem scenarios. In this book, we'll discuss the most popular methods for analyzing time series data, including traditional statistical methods, machine learning methods, and deep learning methods.Problems such as clustering, and classification/regression are generic to machine learning, signal processing, or statistical methods. Often, being aware of this can help establish a context for problem solving and allows one to draw from the broader set of methods within these areas.How is machine learning for time series similar or different from other ML disciplines? There are quite a few challenges specific to machine-learning with time series:

  • The main difference to - more generally - machine learning methods on tabular data is that the data is that the data are indexed by time. The temporal ordering of the data points is often important for the task at hand. This means that the data must be processed in a specific order and cannot simply be shuffled as is often done in machine learning on tabular data.
  • Time series data is often non-stationary, meaning that the statistical properties of the data change over time. This makes it difficult to build models that can generalize from the training data to the test data.

Machine learning has evolved as a powerful method for understanding hidden complexity in time series data. Recently, probabilistic models for time series such as Facebook Prophet, Markov models, or even fuzzy models, and counter-factual causal models such as Bayesian structural time series models as proposed by Google have gained in popularity. At the same time, multivariate forecasting has found practical use in multivariate multistep forecasts of energy demand with deep learning models. Finally, time series techniques such as bandit algorithms and Deep Q-Learning have found their applications in recommender systems and trading algorithms.Some models are adaptive or robust to certain kinds of drift. For example, ARIMA models are generally robust to small amounts of additive and multiplicative drift. The Random Forest algorithm, on the other hand, can be more robust under these conditions and does not require a fundamental update of the algorithm for each instance. Adaptive algorithms include effective resampling methods and adaptive operators that can cope with different types of concept drifts without complex optimizations for different data sets. Unfortunately, there are no hard and fast rules and you should experiment with both types of methods to see which works best for your data.The most prominent time series data technique is forecasting - the task to predict future values of the series. This can be done using methods such as ARIMA or many others, each coming with their own set of assumptions, drawbacks, and advantages.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Machine Learning for Time-Series with Python
You have been reading a chapter from
Machine Learning for Time-Series with Python - Second Edition
Published in: Jun 2026
Publisher: Packt
ISBN-13: 9781837631339
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
Modal Close icon
Modal Close icon