Package: HNPclassifier 0.1.0

HNPclassifier: 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. For theoretical details, please refer to Lijia Wang, Y. X. Rachel Wang, Jingyi Jessica Li & Xin Tong (2024) <doi:10.1080/01621459.2023.2270657>.

Authors:Che Shen [aut, cre], Lujia Yang [aut], Lijia Wang [aut], Shunan Yao [aut]

HNPclassifier_0.1.0.tar.gz
HNPclassifier_0.1.0.zip(r-4.7)HNPclassifier_0.1.0.zip(r-4.6)HNPclassifier_0.1.0.zip(r-4.5)
HNPclassifier_0.1.0.tgz(r-4.6-any)HNPclassifier_0.1.0.tgz(r-4.5-any)
HNPclassifier_0.1.0.tar.gz(r-4.7-any)HNPclassifier_0.1.0.tar.gz(r-4.6-any)
HNPclassifier_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
HNPclassifier/json (API)

# Install 'HNPclassifier' in R:
install.packages('HNPclassifier', repos = c('https://wobushics.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 160 downloads 10 exports 21 dependencies

Last updated from:9896931035. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK111
source / vignettesOK162
linux-release-x86_64OK107
macos-release-arm64OK158
macos-oldrel-arm64OK176
windows-develOK84
windows-releaseOK79
windows-oldrelOK88
wasm-releaseOK88

Exports:base_functionhnp_box_plothnp_delta_searchhnp_map_classeshnp_summaryhnp_umbrellahnp_umbrella_flexhnp_upper_boundprobability_to_score_1probability_to_score_2

Dependencies:classclidplyre1071genericsgluelifecyclemagrittrMASSnnetpillarpkgconfigproxyR6randomForestrlangtibbletidyselectutf8vctrswithr