wraper of auc from ROCR

auc(pred, label)

Arguments

pred

Predictions.

label

Labels.

Value

The Area Under the Curve value.

Examples

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)
#> #> nestor ran in 0.22secs and 3 iterations.
res=auc(nestorFit$Pg,data$G)