Description Usage Arguments Details Value References See Also Examples
This auxiliary function calculates the p-value of the significance of the AUC values using the permutation test (for each input feature). It takes as an input the results of the AUC value calculation using function compute.aucs
.
The results is in the form of “numeric vector” with p-values for each AUC value.
1 | compute.auc.permutation(aucs,dattable,repetitions=1000)
|
aucs |
a numeric vector of AUC values. |
dattable |
a dataset, a matrix of feature values for several cases, the last column is for the class labels. Class labels could be numerical or character values. |
repetitions |
the number of permutations of feature values. |
This auxiliary function's main job is to calculate the p-values of the statistical significance test of the AUC values for each input feature). See the “Value” section to this page for more details.
Data can be provided in matrix form, where the rows correspond to cases with feature values and class label. The columns contain the values of individual features and the last column must contain class labels. The maximal number of class labels equals 10.
The data can be provided with reasonable number of missing values that must be at first preprocessed with one of the imputing methods in the function input_miss
.
A returned data is the following:
p.values |
a numeric vector with the p-values for each feature AUC value |
David J. Hand and Robert J. Till (2001). A Simple Generalisation of the Area Under the ROC Curve for Multiple Class Classification Problems. Machine Learning 45(2), p. 171–186.
compute.aucs
, pauclog
, pauc
, compute.auc.random
1 2 3 4 5 6 7 8 9 10 11 |
Loading required package: gtools
Loading required package: Rcpp
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.