| r2_mtl | R Documentation |
Pooled R^2 = 1 - SS_{res} / SS_{tot} over every non-NA
cell, for orthoMTL fits in regression mode. SS_{tot} uses
the global mean of the pooled true values.
r2_mtl(true.label.mat, pred.label.mat)
true.label.mat |
A numeric matrix of true responses
( |
pred.label.mat |
A numeric matrix of predictions of the same
dimensions (as produced by |
A single numeric value (higher is better; 1 = perfect). Can be negative when predictions are worse than the mean.
rmse_mtl, cindex_mtl
set.seed(1)
Y <- matrix(rnorm(30), 10, 3)
P <- Y + matrix(rnorm(30, sd = 0.1), 10, 3)
r2_mtl(Y, P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.