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)

Setting up Python

In the next sections, we’ll go through setting up a Python environment in Docker and Conda, two popular tools for setting up and maintaining environments. We’ll then cover how to use pip to install additional libraries into these environments.

Docker

Docker is a tool that lets you run a container within a given operating system. A container is a kind of virtual machine, but it shares the kernel with the host machine. The advantage of using a container is that it’s much lighter than a virtual machine, because it doesn’t need to boot a full operating system.

Docker is useful for data science because you can use it to create a reproducible environment for your data science project. That is, you can use Docker to create an environment with all the libraries and tools you need for your project, and share that environment with others.

To install Docker, follow the instructions on the Docker website.

Once you have Docker installed, you can use it...