Calculates the root mean squared error (RMSE).

The RMSE is defined by $$\sqrt{\frac{1}{n} \sum ((t - \hat{t})^2)}$$ where \(t\) is the true value and \(\hat{t}\) is the prediction.

Censored observations in the test set are ignored.

Dictionary

This Measure can be instantiated via the dictionary mlr_measures or with the associated sugar function msr():

MeasureSurvRMSE$new()
mlr_measures$get("surv.rmse")
msr("surv.rmse")

Meta Information

  • Type: "surv"

  • Range: \([0, \infty)\)

  • Minimize: TRUE

  • Required prediction: response

See also

Super classes

mlr3::Measure -> mlr3proba::MeasureSurv -> MeasureSurvRMSE

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage

MeasureSurvRMSE$new()


Method clone()

The objects of this class are cloneable with this method.

Usage

MeasureSurvRMSE$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.