Determine and Evaluate Optimal Cutpoints in Binary Classification Tasks
Overview
Estimate cutpoints that optimize a specified metric in binary classification tasks and validate performance using bootstrapping. Some methods for more robust cutpoint estimation are supported, e.g. a parametric method assuming normal distributions, bootstrapped cutpoints, and smoothing of the metric values per cutpoint using Generalized Additive Models. Various plotting functions are included. For an overview of the package see Thiele and Hirschfeld (2021) doi:10.18637/jss.v098.i11.
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: cutpointr/tests/testthat/test-cutpointr.R (.Label: 3, .Names: 3) '.Label' should be changed to 'levels'. '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 63
- Examples that run
- 96%54 run in a plain check · 2 never run
- Exported functions with examples
- 98%
- Documented parameters
- 100%
- Return-value docs
- 22%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 5
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/thie1e/cutpointr on 2026-10-22.
Dependencies
Installing cutpointr adds 33 packages (16 with compiled code, 31 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2.1Latest
- RR 4.5.0 released · 2025-04-11
- 1.2.02024-12-10 · diff ↗ ·
removed 3 exports
cutpoint_knots, maximize_spline_metric, minimize_spline_metric - RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.1.22022-04-13 · diff ↗
- 1.1.12021-06-29 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.1.02021-02-15 · diff ↗
- unarchivedReturned to CRAN2020-06-19
- 1.0.322020-06-19 · diff ↗
- archivedRemoved from CRAN2020-06-15check problems were not corrected in time
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-04-14
Show 11 earlier eventsHide 11 earlier events
- 1.0.2
- archivedRemoved from CRAN2020-03-31installation problems were not corrected in time
- 1.0.12019-12-18 · diff ↗
- 1.0.0
- RR 3.6.0 released · 2019-04-26
- 0.7.62019-03-27 · diff ↗ ·
added 4 exports
acc_constrain, metric_constrain, sens_constrain, spec_constrain - 0.7.4
- RR 3.5.0 released · 2018-04-23
- 0.7.32018-04-13 · diff ↗
- 0.7.22018-03-21
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-03-21
- Total releases
- 13 / 8 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.4 KB / 2 files
- Download size
- 2.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("cutpointr")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v098.i11.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.