Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Time Series Analysis with Python Cookbook

You're reading from  Time Series Analysis with Python Cookbook

Product type Book
Published in Jun 2022
Publisher Packt
ISBN-13 9781801075541
Pages 630 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Tarek A. Atwan Tarek A. Atwan
Profile icon Tarek A. Atwan

Table of Contents (18) Chapters

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

Forecasting with exogenous variables and ensemble learning

This recipe will allow you to explore two different techniques: working with multivariate time series and using ensemble forecasters. For example, the EnsembleForecaster class takes in a list of multiple regressors, each regressor gets trained, and collectively contribute in making a prediction. This is accomplished by taking the average of the individual predictions from each regressor. Think of this as the power of the collective. You will use the same regressors you used earlier: Linear Regression, Random Forest Regressor, Gradient Boosting Regressor, and Support Vector Machines Regressor.

You will use a Naive Regressor as the baseline to compare with EnsembleForecaster. Additionally, you will use exogenous variables with the Ensemble Forecaster to model a multivariate time series. You can use any regressor that accepts exogenous variables.

Getting ready

You will load the same modules and libraries from the previous...

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 $15.99/month. Cancel anytime}