auc: wraper of auc from ROCR

Description Usage Arguments Value Examples

View source: R/Visualize.R

Description

wraper of auc from ROCR

Usage

1
auc(pred, label)

Arguments

pred

Predictions.

label

Labels.

Value

The Area Under the Curve value.

Examples

1
2
3
4
5
6
7
8
9
 data=generate_missing_data(n=100,p=10,r=1,type="scale-free", plot=FALSE)
PLNfit<-norm_PLN(data$Y)
MO<-PLNfit$MO
SO<-PLNfit$SO
sigma_O=PLNfit$sigma_O
initClique=data$TC
initList=initVEM(cliqueList=initClique,sigma_O, MO,r=1 )
nestorFit=nestorFit( MO,SO, initList=initList, maxIter=3,verbatim=1)
res=auc(nestorFit$Pg,data$G)

Rmomal/VEMtree documentation built on Dec. 17, 2020, 5:17 p.m.