Description Usage Arguments Value Author(s) References Examples
Comparing feature selected by algorithms and the ground truth in simulation
1 | get.performance(set.truth, set.sel, set.all)
|
set.truth |
A vector of important features set in simulation (ground truth) |
set.sel |
A vector of important features selected by algorithms |
set.all |
A vector of all candidate features for feature selection |
returned a vector of feature selection performance including JI (ratio of intersect of two sets and union of two sets), TPR (percentage of correctly selected features in all true important features) and FPR (percentage of wrongly selected features in true non-important features)
Li Liu, Xin Guan
Guan, X., & Liu, L. (2018). Know-GRRF: Domain-Knowledge Informed Biomarker Discovery with Random Forests.
1 2 3 4 5 | set.truth=1:10 ##true important feature from ground truth
set.sel=c(8:10, 95) ##selected feature by an algorithm
set.all=1:100 ##all candidate features
get.performance(set.truth, set.sel, set.all)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.