AUC: AUC

Description Usage Arguments Value Examples

Description

Function Implementing metrics calculation of AUC

Usage

1
AUC(predizioni, testpharmat, vectorAUC, name)

Arguments

predizioni

matrix of predictions

testpharmat

matrix of test for the side effects

vectorAUC

empty vector where the AUC values will be saved

name

string stating the name of the clustering Algorithm used, KSeeds, Kmeans or PAM

Value

vectorAUC vector containing the various AUC values for the various folds. Moreover the function draw the graph of AUC

Examples

1
2
3
4
5
#' #Function for obtaining AUC
#Once you have obtained predizioni with the Prediction function you can apply
#this AUC function using the following command (testpharmat sideeffects test matrix)
#vectorAUC<-numeric()
#vectorAUC<-AUC(predizioni,testpharmat,vectorAUC,"KSeeds")

Example output



DrugClust documentation built on May 2, 2019, 11:06 a.m.

Related to AUC in DrugClust...