pub fn RMSE(dv: &DataVec, predict: &PredVec, len: usize) -> ValueType
Expand description

RMSE (Root-Mean-Square deviation) calculation for first n element in data vector. See wikipedia for detailed algorithm.

Panic

If the specified length is greater than the length of data vector, it will panic.

If the length of data vector and predicted vector is not same, it will panic.