npcs
Neyman-Pearson Classification via Cost-Sensitive Learning
v0.1.1
·
Apr 27, 2023
·
GPL-2
Description
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).
Downloads
188
Last 30 days
23005th
556
Last 90 days
2.2K
Last year
Trend: +7.4% (30d vs prior 30d)
CRAN Check Status
1
ERROR
13
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | ERROR |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (1 non-OK)
ERROR
r-oldrel-windows-x86_64
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'npcs-demo.Rmd' using rmarkdown ! Package pdftex.def Error: File `a823f735f7bab93eb94e4a819fc6cea66de84c9d.pdf' not found: using draft setting. Error: processing vignette 'npcs-demo.Rmd' failed with diagnostics: LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/npcs.Rcheck/vign_test/npcs/vignettes/npcs-demo.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See npcs-demo.log for more info. --- failed re-building 'npcs-demo.Rmd' SUMMARY: processing the following file failed: 'npcs-demo.Rmd' Error: Vignette re-building failed. Execution halted
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR
r-oldrel-windows-x86_64
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'npcs-demo.Rmd' using rmarkdown ! Package pdftex.def Error: File `a823f735f7bab93eb94e4a819fc6cea66de84c9d.pdf' not found: using draft setting. Error: processing vignette 'npcs-demo.Rmd' failed wit ...[truncated]... https://yihui.org/tinytex/r/#debugging for debugging tips. See npcs-demo.log for more info. --- failed re-building 'npcs-demo.Rmd' SUMMARY: processing the following file failed: 'npcs-demo.Rmd' Error: Vignette re-building failed. Execution halted