You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all, it is clean code and written very well. I was experimenting something with EWMA algorithm with my Dataset.
val inputArray = Array(2595.3, 4235.6, 4945.4, 4134.2, 3841.4, 2964.7, 3380.6, 3780.8, 5060.9, 3149.6, 1382.9, 2920.2, 5060.9)
val ewmaModel = EWMA.fitModel(new DenseVector(inputArray))
println(ewmaModel.smoothing)
I was expecting it to be <1 as wiki link clearly says alpha stays between 0 and 1. But i found that smoothing is 1.4725180725463247. Am i missing some trick in understanding the same?
The text was updated successfully, but these errors were encountered:
Hi,
First of all, it is clean code and written very well. I was experimenting something with EWMA algorithm with my Dataset.
val inputArray = Array(2595.3, 4235.6, 4945.4, 4134.2, 3841.4, 2964.7, 3380.6, 3780.8, 5060.9, 3149.6, 1382.9, 2920.2, 5060.9)
val ewmaModel = EWMA.fitModel(new DenseVector(inputArray))
println(ewmaModel.smoothing)
I was expecting it to be <1 as wiki link clearly says alpha stays between 0 and 1. But i found that smoothing is 1.4725180725463247. Am i missing some trick in understanding the same?
The text was updated successfully, but these errors were encountered: