Package: deriva 0.2.0

deriva: Tidy Drift Detection for Monitored Machine Learning Models

Detects concept drift and data drift in streams produced by deployed machine learning models, using a tidy interface that composes with the 'tidymodels' ecosystem. Detectors are specified, fitted on a baseline period, and advanced over new batches of observations, returning tibbles annotated with warning and drift flags. A catalogue of 22 sequential drift detectors is provided. Error-based methods include the Drift Detection Method (DDM) of Gama et al. (2004) <doi:10.1007/978-3-540-28645-5_29>, the Early Drift Detection Method (EDDM) of Baena-Garcia et al. (2006), the Hoeffding's inequality based Drift Detection Methods (HDDM) of Frias-Blanco et al. (2015) <doi:10.1109/TKDE.2014.2345382>, and the Exponentially Weighted Moving Average (EWMA) chart of Ross et al. (2012) <doi:10.1016/j.patrec.2011.08.019>. Distribution-based methods include Adaptive Windowing (ADWIN) of Bifet and Gavalda (2007) <doi:10.1137/1.9781611972771.42>, Kolmogorov-Smirnov Windowing (KSWIN) of Raab et al. (2020) <doi:10.1016/j.neucom.2019.11.111>, and the Page-Hinkley test of Page (1954) <doi:10.1093/biomet/41.1-2.100>.

Authors:João Paulo Assis Bonifácio [aut, cre], Geraldo Magela da Cruz Pereira [aut], Pedro Mambelli Fernandes [aut]

deriva_0.2.0.tar.gz
deriva_0.2.0.zip(r-4.7-any)deriva_0.2.0.zip(r-4.6-any)deriva_0.2.0.zip(r-4.5-any)
deriva_0.2.0.tgz(r-4.6-any)deriva_0.2.0.tgz(r-4.5-any)
deriva_0.2.0.tar.gz(r-4.7-any)deriva_0.2.0.tar.gz(r-4.6-any)
deriva_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
deriva/json (API)

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

Bug tracker:https://github.com/bonijoao/deriva/issues

Pkgdown/docs site:https://bonijoao.github.io

Datasets:

On CRAN:

Conda:

4.85 score 339 downloads 10 exports 12 dependencies

Last updated from:80a697afa3. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK179
source / vignettesOK260
linux-releaseOK164
macos-releaseOK121
macos-oldrelOK114
windows-develOK74
windows-releaseOK100
windows-oldrelOK91
wasm-releaseOK111

Exports:add_prediction_erroradvanceaugmentdetect_driftdrift_detectorfitglancesim_dist_streamsim_drift_streamtidy

Dependencies:cligenericsgluelifecyclemagrittrpillarpkgconfigrlangtibbleutf8vctrswithr

Distribution-Based Drift Detection
Error-based vs. distribution-based | The running example: a drifting sensor | Detecting the shift with KSWIN | Other distribution-based methods

Last update: 2026-09-20
Started: 2026-09-20

Getting Started with deriva
What is concept drift? | The running example: a credit-approval model | Quick start | The deriva interface | 1. Specify a detector | 2. Fit on a baseline | 3. Advance over new batches | 4. Inspect results | Bridging from tidymodels | Distribution-based detectors | Available methods | Summary

Last update: 2026-09-20
Started: 2026-06-17