Skip to content

Instantly share code, notes, and snippets.

@tartakynov
tartakynov / HoltWinters.scala
Created Nov 9, 2014
Holt-Winters Forecasting Method in Scala
View HoltWinters.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.
*/