rmse_mtl: Root Mean Squared Error for Multi-Task Regression

View source: R/metrics.R

rmse_mtlR Documentation

Root Mean Squared Error for Multi-Task Regression

Description

Pooled RMSE over every non-NA cell of the true/predicted matrices, for orthoMTL fits in regression mode (logistic = FALSE, survival = FALSE).

Usage

rmse_mtl(true.label.mat, pred.label.mat)

Arguments

true.label.mat

A numeric matrix of true responses (n x numTasks). NA cells are ignored.

pred.label.mat

A numeric matrix of predictions of the same dimensions (as produced by predict.orthoMTL).

Value

A single non-negative numeric value (lower is better).

See Also

r2_mtl, cindex_mtl

Examples

set.seed(1)
Y <- matrix(rnorm(30), 10, 3)
P <- Y + matrix(rnorm(30, sd = 0.1), 10, 3)
rmse_mtl(Y, P)

orthoMTL documentation built on Aug. 23, 2026, 5:10 p.m.