Package: npcs 0.1.1

npcs: Neyman-Pearson Classification via Cost-Sensitive Learning

We connect the multi-class Neyman-Pearson classification (NP) problem to the cost-sensitive learning (CS) problem, and propose two algorithms (NPMC-CX and NPMC-ER) to solve the multi-class NP problem through cost-sensitive learning tools. Under certain conditions, the two algorithms are shown to satisfy multi-class NP properties. More details are available in the paper "Neyman-Pearson Multi-class Classification via Cost-sensitive Learning" (Ye Tian and Yang Feng, 2021).

Authors:Ye Tian [aut], Ching-Tsung Tsai [aut, cre], Yang Feng [aut]

npcs_0.1.1.tar.gz
npcs_0.1.1.zip(r-4.5)npcs_0.1.1.zip(r-4.4)npcs_0.1.1.zip(r-4.3)
npcs_0.1.1.tgz(r-4.4-any)npcs_0.1.1.tgz(r-4.3-any)
npcs_0.1.1.tar.gz(r-4.5-noble)npcs_0.1.1.tar.gz(r-4.4-noble)
npcs_0.1.1.tgz(r-4.4-emscripten)npcs_0.1.1.tgz(r-4.3-emscripten)
npcs.pdf |npcs.html
npcs/json (API)

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

Peer review:

On CRAN:

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

5 exports 0.09 score 82 dependencies 15 scripts 187 downloads

Last updated 1 years agofrom:788e78e789. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 20 2024
R-4.5-winWARNINGAug 20 2024
R-4.5-linuxWARNINGAug 20 2024
R-4.4-winWARNINGAug 20 2024
R-4.4-macWARNINGAug 20 2024
R-4.3-winWARNINGAug 20 2024
R-4.3-macWARNINGAug 20 2024

Exports:cv.npcserror_rategamma_smotegenerate_datanpcs

Dependencies:caretclasscliclockcodetoolscolorspacecpp11data.tabledbscandfoptimdiagramdigestdplyre1071fansifarverFNNforcatsforeachformatRfuturefuture.applygenericsggplot2globalsgluegowergtablehardhatigraphipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmgcvModelMetricsmunsellnlmennetnumDerivparallellypillarpkgconfigplyrpROCprodlimprogressrproxypurrrR6RColorBrewerRcpprecipesreshape2rlangrpartscalesshapesmotefamilySQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewithr

npcs-demo

Rendered fromnpcs-demo.Rmdusingknitr::rmarkdownon Aug 20 2024.

Last update: 2023-04-27
Started: 2021-10-19