Book Image

Machine Learning Quick Reference

By : Rahul Kumar
Book Image

Machine Learning Quick Reference

By: Rahul Kumar

Overview of this book

Machine learning makes it possible to learn about the unknowns and gain hidden insights into your datasets by mastering many tools and techniques. This book guides you to do just that in a very compact manner. After giving a quick overview of what machine learning is all about, Machine Learning Quick Reference jumps right into its core algorithms and demonstrates how they can be applied to real-world scenarios. From model evaluation to optimizing their performance, this book will introduce you to the best practices in machine learning. Furthermore, you will also look at the more advanced aspects such as training neural networks and work with different kinds of data, such as text, time-series, and sequential data. Advanced methods and techniques such as causal inference, deep Gaussian processes, and more are also covered. By the end of this book, you will be able to train fast, accurate machine learning models at your fingertips, which you can easily use as a point of reference.
Table of Contents (18 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

AR model


An AR model is a part of the stochastic process, wherein specific lagged values of yt are used as predictor variables and regressed on yin order to estimate its values. Lagged values are values of the series of the previous period that tend to have an impact on the current value of the series. Let's look at an example. Say we have to assess and predict tomorrow's weather. We would start by thinking of what today's weather is and what yesterday's weather was, as this will help us in predicting whether it will be rainy, bright and sunny, or cloudy. Subconsciously, we are also cognizant of the fact that the weather of the previous day might have an association with today's weather. This is what we call an AR model.

This has a degree of uncertainty that results in less accuracy in the prediction of future values. The formula is the same as the formula for a series withp lag, as follows:

In the previous equation, ω is the white noise term and α is the coefficient, which can't be zero...