Hierarchical Neyman-Pearson Classification for Ordered Classes

The Hierarchical Neyman-Pearson (H-NP) classification framework extends the Neyman-Pearson classification paradigm to multi-class settings where classes have a natural priority ordering. This is particularly useful for classification in unbalanced dataset, for example, disease severity classification, where under-classification errors (misclassifying patients into less severe categories) are more consequential than other misclassifications. The package implements H-NP umbrella algorithms that controls under-classification errors under user specified control levels with high probability. It supports the creation of H-NP classifiers using scoring functions based on built-in classification methods (including logistic regression, support vector machines, and random forests), as well as user-trained scoring functions. The package exports `base_function()` to train these built-in base learners directly for use in the H-NP pipeline.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("HNPclassifier")

0.2.1 by Che Shen, 3 months ago


Browse source code at https://github.com/cran/HNPclassifier


Authors: Che Shen [aut, cre] (Implementation and maintenance) , Lujia Yang [aut] (Testing and debugging) , Lijia Wang [aut] (Original theory and supervision) , Shunan Yao [aut] (Supervision and debugging)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, e1071, MASS, nnet, randomForest


See at CRAN