Other packages > Find by keyword >

nproc  

Neyman-Pearson (NP) Classification Algorithms and NP Receiver Operating Characteristic (NP-ROC) Curves
View on CRAN: Click here


Download and install nproc package within the R console
Install from CRAN:
install.packages("nproc")

Install from Github:
library("remotes")
install_github("cran/nproc")

Install by package version:
library("remotes")
install_version("nproc", "2.1.5")



Attach the package and use:
library("nproc")
Maintained by
Yang Feng
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-02-13
Latest Update: 2020-01-13
Description:
In many binary classification applications, such as disease diagnosis and spam detection, practitioners commonly face the need to limit type I error (i.e., the conditional probability of misclassifying a class 0 observation as class 1) so that it remains below a desired threshold. To address this need, the Neyman-Pearson (NP) classification paradigm is a natural choice; it minimizes type II error (i.e., the conditional probability of misclassifying a class 1 observation as class 0) while enforcing an upper bound, alpha, on the type I error. Although the NP paradigm has a century-long history in hypothesis testing, it has not been well recognized and implemented in classification schemes. Common practices that directly limit the empirical type I error to no more than alpha do not satisfy the type I error control objective because the resulting classifiers are still likely to have type I errors much larger than alpha. As a result, the NP paradigm has not been properly implemented for many classification scenarios in practice. In this work, we develop the first umbrella algorithm that implements the NP paradigm for all scoring-type classification methods, including popular methods such as logistic regression, support vector machines and random forests. Powered by this umbrella algorithm, we propose a novel graphical tool for NP classification methods: NP receiver operating characteristic (NP-ROC) bands, motivated by the popular receiver operating characteristic (ROC) curves. NP-ROC bands will help choose in a data adaptive way and compare different NP classifiers.
How to cite:
Yang Feng (2016). nproc: Neyman-Pearson (NP) Classification Algorithms and NP Receiver Operating Characteristic (NP-ROC) Curves. R package version 2.1.5, https://cran.r-project.org/web/packages/nproc. Accessed 10 Mar. 2026.
Previous versions and publish date:
0.1 (2016-02-13 19:01), 0.4 (2016-05-03 08:20), 0.5 (2016-05-08 18:19), 1.1 (2016-06-19 16:44), 1.2 (2016-08-11 13:02), 2.0.1 (2016-09-27 08:41), 2.0.4 (2017-01-13 15:37), 2.0.6 (2017-03-04 17:12), 2.0.8 (2017-09-01 15:04), 2.0.9 (2017-09-18 05:29), 2.1.1 (2018-02-13 16:42), 2.1.4 (2018-11-16 19:20)
Other packages that cited nproc R package
View nproc citation profile
Other R packages that nproc depends, imports, suggests or enhances
Complete documentation for nproc
Functions, R codes and Examples using the nproc R package
Some associated functions: compare . lines.nproc . npc . nproc . plot.nproc . predict.npc . print.npc . print.nproc . rocCV . 
Some associated R codes: compare.R . lines.nproc.R . npc.R . npfuns.R . nproc.R . plot.nproc.R . predict.npc.R . print.npc.R . print.nproc.R . rocCV.R .  Full nproc package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

gena  
Genetic Algorithm and Particle Swarm Optimization
Implements genetic algorithm and particle swarm algorithm for real-valued functions. Various modific ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
plyr  
Tools for Splitting, Applying and Combining Data
A set of tools that solves a common set of problems: you need to break a big problem down into mana ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA