def

func:rootMeanSquareErr

rootMeanSquareErr(val, acc, nDegrees: 0)

Fold a sample of numbers into their RMSE (root mean square error). The RMSE function determines the RMSE between a sample set and its mean using the n-degrees of freedom RMSE:

RMBE = sqrt( Σ(xᵢ - median)² ) / (n - nDegrees)

Examples:

samples.fold(rootMeanSquareErr)         // unbiased zero degrees of freedom
samples.fold(rootMeanSquareErr(_,_,1))  // 1 degree of freedom

meta

def func:rootMeanSquareErr
disKey ui::rootMeanSquareErr
foldOn Number
is func
lib lib:math
name rootMeanSquareErr

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function