RMSEMetric<T>

Models & Types · AiDotNet.Evaluation.Metrics.Regression

Computes Root Mean Squared Error (RMSE): square root of MSE.

Implements: IRegressionMetric<T>

For Beginners

RMSE is MSE in the same units as the target variable, making it more interpretable. If RMSE = 5 for house prices in $1000s, errors average ~$5000.

How It Works

RMSE = √MSE = √[(1/N) * Σ(y_i - ŷ_i)²]

Constructors

Constructor Summary
RMSEMetric()

Properties

Property Summary
MetricDirection Direction { get; }
T MaxValue { get; }
T MinValue { get; }
bool RequiresProbabilities { get; }
bool SupportsMultiClass { get; }
string Category { get; }
string Description { get; }
string Name { get; }

Methods

Method Summary
MetricWithCI<T> ComputeWithCI(ReadOnlySpan<T> predictions, ReadOnlySpan<T> actuals, ConfidenceIntervalMethod ciMethod, double confidenceLevel, int bootstrapSamples, int? randomSeed)
T Compute(ReadOnlySpan<T> predictions, ReadOnlySpan<T> actuals)