Skip to content

Instantly share code, notes, and snippets.

@tartakynov
tartakynov / HoltWinters.scala
Created November 9, 2014 16:18
Holt-Winters Forecasting Method in Scala
/*
* Holt-Winters Forecasting Method.
* Written by Artem Tartakynov.
* This particular implementation uses immutable collections and possibly
* creates a lot of work for garbage collector. Please feel free to use or modify it in
* whatever way best works for you.
*
* References:
* Jia Li and Andrew W. Moore. Forecasting Web Page Views: Methods and Observations. 2008.
*/