Learn R Programming

JointNets (version 2.0.1)

AUC: return AUC score for JointNets method

Description

return AUC score for JointNets method

Usage

AUC(simulationresult, gm_method = "simule", lambdas, ...)

Arguments

simulationresult

output from the function simulation()

gm_method

method name from any one of the JointNets methods

lambdas

a vector of lambda values for the JointNets method to run with

...

extra parameters passed to the JointNets method such as lambda, epislon and etc, refer to each method for details (eg, ?simule)

Value

AUC score, a list of precisions and recalls

Examples

Run this code
# NOT RUN {
simulationresult = simulation(n=c(100,100,100))
AUC_result = AUC(simulationresult,lambdas = seq(0.1,2,0.5),epsilon = 2)
AUC_result
graphics.off()
par(ask = FALSE)
par(mfrow = c(1, 1))
plot(AUC_result$fPM,AUC_result$tPM)
# }

Run the code above in your browser using DataLab