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
Time Series Analysis with Python Cookbook

You're reading from   Time Series Analysis with Python Cookbook Practical recipes for the complete time series workflow, from modern data engineering to advanced forecasting and anomaly detection

Arrow left icon
Product type Paperback
Published in Jan 2026
Publisher Packt
ISBN-13 9781805124283
Length 812 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Tarek A. Atwan Tarek A. Atwan
Author Profile Icon Tarek A. Atwan
Tarek A. Atwan
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Reading Time Series Data from Files FREE CHAPTER 2. Reading Time Series Data from Databases 3. Persisting Time Series Data to Files 4. Persisting Time Series Data to Databases 5. Working with Date and Time in Python 6. Handling Missing Data 7. Outlier Detection Using Statistical Methods 8. Exploratory Data Analysis and Diagnosis 9. Building Univariate Time Series Models Using Statistical Methods 10. Additional Statistical Modeling Techniques for Time Series 11. Forecasting Using Supervised Machine Learning 12. Deep Learning for Time Series Forecasting 13. Outlier Detection Using Unsupervised Machine Learning 14. Advanced Techniques for Complex Time Series 15. Unlock Your Exclusive Benefits 16. Other Books You May Enjoy
17. Index

Forecasting Using Supervised Machine Learning

In this chapter, you will explore how to apply different Machine Learning (ML) algorithms for time-series forecasting. ML algorithms can be categorized into supervised, unsupervised, and reinforcement learning. Here, we will focus on supervised ML, where the goal is to learn from past observations to predict future values.

The first recipe will guide you through the critical process of preparing a time series for supervised ML. Since time-series data is sequential, we need to transform it to make it suitable for ML models, which typically expect a tabular format.

Furthermore, you will work with two powerful ML libraries: scikit-learn and sktime. Scikit-learn (often called sklearn) is a popular ML library in Python that offers a wide range of algorithms for supervised and unsupervised learning and a plethora of tools for data preprocessing, as well as model evaluation and selection. Keep in mind that scikit-learn is a generic ML...

lock icon The rest of the chapter is locked
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.
Time Series Analysis with Python Cookbook
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