Book Image

Machine Learning for Time-Series with Python - Second Edition

By : Ben Auffarth
4 (4)
Book Image

Machine Learning for Time-Series with Python - Second Edition

4 (4)
By: Ben Auffarth

Overview of this book

The Python time-series ecosystem is a huge and challenging topic to tackle, especially for time series since there are so many new libraries and models. Machine Learning for Time Series, Second Edition, aims to deepen your understanding of time series by providing a comprehensive overview of popular Python time-series packages and helping you build better predictive systems. This fully updated second edition starts by re-introducing the basics of time series and then helps you get to grips with traditional autoregressive models as well as modern non-parametric models. By observing practical examples and the theory behind them, you will gain a deeper understanding of loading time-series datasets from any source and a variety of models, such as deep learning recurrent neural networks, causal convolutional network models, and gradient boosting with feature engineering. This book will also help you choose the right model for the right problem by explaining the theory behind several useful models. New updates include a chapter on forecasting and extracting signals on financial markets and case studies with relevant examples from operations management, digital marketing, and healthcare. By the end of this book, you should feel at home with effectively analyzing and applying machine learning methods to time series.
Table of Contents (3 chapters)

Join our book community on Discord

https://packt.link/EarlyAccessCommunity

In this chapter, we’ll introduce working with time series data in the Python programming language. We will cover how to install Python and libraries in Python. This chapter will help you set up everything you need to get started with the book.

Python has become one of the most popular languages for data science. It is a powerful, easy-to-read, general-purpose high-level programming language. Additionally, the Python community has built a large number of useful packages for data analysis, which can be easily installed using the pip package manager

The most popular Python packages for data science are collected in the so-called SciPy stack, which includes packages such as NumPy, pandas, scikit-learn, and matplotlib.

In this chapter, we’ll start by installing Python and lots of libraries. Then we will introduce pandas, NumPy, and matplotlib, and a few other libraries and modules that will come in...