getAUC {DSAM}R Documentation

Get the AUC value between two datasets

Description

This function calls [kohonen]{xgboost} to train the classifier, followed by calculating the similarity between the two given datasets. The return value is a AUC index, ranging between 0 and 1, where the AUC is closer to 0.5, the more similar the two data sets is.

Usage

getAUC(data1, data2)

Arguments

data1

Dataset 1, the data type must be numeric, matrix or Data.frame.

data2

Dataset 2, the data type must be numeric, matrix or Data.frame.

Value

Return the AUC value.


[Package DSAM version 1.0.2 Index]