| auc_mtl | R Documentation |
Pooled AUC over every non-NA cell, computed via the
Mann-Whitney U statistic (with 0.5 credit for ties), for
orthoMTL fits in classification mode. The positive class is
defined by true label > 0. AUC is invariant to monotone
transforms, so raw "link" scores and "response"
probabilities give identical results.
auc_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 in [0, 1] (higher is better;
0.5 = random).
accuracy_mtl, cindex_mtl
set.seed(1)
Y <- matrix(sample(c(-1, 1), 30, replace = TRUE), 10, 3)
P <- Y + matrix(rnorm(30), 10, 3)
auc_mtl(Y, P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.