Regression measures defined as Spearman's rank correlation coefficient between truth and response. Calls stats::cor() with method set to "spearman".

Note

The score function calls mlr3measures::srho() from package mlr3measures.

If the measure is undefined for the input, NaN is returned. This can be customized by setting the field na_value.

Dictionary

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

mlr_measures$get("srho")
msr("srho")

Meta Information

  • Type: "regr"

  • Range: \([-1, 1]\)

  • Minimize: FALSE

  • Required prediction: response

See also