Learn R Programming

OptimClassifier (version 0.1.5)

RMSE: Root Mean Square Error

Description

RMSE is a commonly used error metric to measure the performance of regression models, but it is also possible to use it in a classification system. The RMSE measures the standard deviation of the predictions from the ground-truth. This is the relationship between RMSE and classification.

Usage

RMSE(yhat, y, type.of = c("numeric", "text", "scalable"))

Arguments

yhat

A predicted value vector

y

A real value vector

type.of

Type of response variable, either: numeric for the numerical response variables, text for the class response variables without growing relationship or scalable for the class response variables without growing relationship.