Created
December 7, 2019 10:59
-
-
Save malakhov-dmitrii/446f4966e3e17cea55dfa846255723a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
predict = ( | |
data, | |
a = 0.95, | |
b = 0.4, | |
g = 0.2, | |
p = this.PERIODS_TO_PREDICT, | |
) => { | |
const alpha = a; | |
const beta = b; | |
const gamma = g; | |
const predictions = forecast(data, alpha, beta, gamma, this.OBSERVATIONS_PER_SEASON, p); | |
return predictions; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment