Upgrade to Pro — share decks privately, control downloads, hide ads and more …

When Holt-Winters is better than Machine Learning

finid
June 28, 2019

When Holt-Winters is better than Machine Learning

Machine Learning (ML) gets a lot of hype, but its Classical predecessors are still immensely powerful, especially in the time series space. Error, Trend, Seasonality Forecast (ETS), Autoregressive Integrated Moving Average (ARIMA), and Holt-Winters are three Classical methods that are not only incredibly popular but also excellent time series predictors. In fact, these Classical Methods outperform several other ML methods including Long Short Term Memory (LTSM) and Recurrent Neural Networks (RNN) in One-Step Forecasting.

In this talk, I’ll show you how the Holt-Winters forecasting algorithm works. Then we’ll use the HOLT_WINTERS() function with InfluxData to make our own time series forecast.

finid

June 28, 2019
Tweet

More Decks by finid

Other Decks in Technology

Transcript

  1. Big Data & AI Conference Dallas, Texas June 27 –

    29, 2019 www.BigDataAIconference.com
  2. © 2019 InfuuData. All rights reserved. 4 About Me ◦

    Anais Jackie Dotis on LinkedIn ◦ @art.anaisdg on Instagram ◦ Super grateful to be here! Developer Advocate, InfuuData
  3. © 2019 InfuuData. All rights reserved. 5 Agenda ◦ Overview

    of InfuuData ◦ Inspiration for this talk ◦ Single Euponential Smoothing (SES) ◦ Optimization of SES ◦ Optimization of Linear Regression ◦ Holt-Winters Multiplicative ◦ Nelder-Mead ◦ How to make predictions with Infuu Developer Advocate, InfuuData
  4. © 2018 InfuuData. All rights reserved. 7 Real-Time Analytics 20

    % Infrastructure/ Application/ Business Process Monitoring 45 % IoT Monitori ng 35 % Some of our
  5. © 2019 InfuuData. All rights reserved. 8 Single Node Ingest

    Benchmark r4.4xlarge r4.2xlarge r4.xlarge r4.large Series Cardinality
  6. © 2019 InfuuData. All rights reserved. 9 Statistical and Machine

    Learning forecasting methods: Concerns and ways forward” Spyros Makridakis, Evangelos Spiliotis, Vassilios Assimakopoulos
  7. © 2019 InfuuData. All rights reserved. 12 © 2019 InfuuData.

    All rights reserved. 12 Component Form
  8. © 2019 InfuuData. All rights reserved. 13 © 2019 InfuuData.

    All rights reserved. 13 Linear Regression Overview of Optimization for Single Euponential Smoothing
  9. © 2019 InfuuData. All rights reserved. 14 © 2019 InfuuData.

    All rights reserved. 14 Optimization for Linear Regression Define the Error: Residual Sum of Squares
  10. © 2019 InfuuData. All rights reserved. 25 Learning Resources •

    Forecasting: Principles and Practices • Results From Comparing Classical and Machine Learning MEthods for Time Ser ies • Holt-Winters Resources ◦ Holt-Winters Forecasting Simplifi ed ◦ Holt-Winters Forecasting for Dum mies (or Developers) ◦ Holt-Winters Method | Real Statist ics Using Eucel ◦ Initializing the Holt-Winters meth od • Infuu Resources ◦ HOLT-WINTERS() • Nelder-Mead ◦ Nelder-Mead algorithm ◦ Nelder-Mead Animation ◦ Nelder-Mead Optimization • Statistics ◦ MAE and RMSE — Which Metric is Bette r? ◦ What’s a good value for R-squared? ◦ Ridge regression to minimize RMSE ins tead of MSE ◦ Confused on Residual Terminology ◦ Relationship between RMSE and RSS ◦ Why we usually choose to minimize the SSE • Minimizing squared error to regression line