AUPR: AUPR

Description Usage Arguments Value Examples

Description

Function Implementing metrics calculation of AUPR

Usage

1
AUPR(predizioni, testpharmat, vectorAUPR, name)

Arguments

predizioni

matrix of predictions

testpharmat

matrix of test for the Side Effects

vectorAUPR

empty vector to store AUPR

name

name of the clustering algorithm used (KSeeds, KMeans,PAM)

Value

vectorAUPR vector containing AUPR values for the various folds, the function also draws AUPR graphs

Examples

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

Example output



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

Related to AUPR in DrugClust...