One Rule Machine Learning Classification Algorithm with Enhancements
Overview
Implements the One Rule (OneR) Machine Learning classification algorithm (Holte, R.C. (1993) doi:10.1023/A:1022631118932) with enhancements for sophisticated handling of numeric data and missing values together with extensive diagnostic functions. It is useful as a baseline for machine learning models and the rules are often helpful heuristics.
MAJOR IMPORVEMENTS
- OneR: massive speedup of main OneR function (> 30 times faster).
- OneR & optbin: standard S3 method interface added for formulas and data frames.
MINOR IMPROVEMENTS
- optbin: speedup of method "infogain".
- Some minor corrections in documentation.
From NEWS in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Holger von Jouanne-Diedrich <holger.jouanne-diedrich@h-ab.de>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Holger",
family = "von Jouanne-Diedrich",
role = c("aut", "cre"),
email = "holger.jouanne-diedrich@h-ab.de")
as necessary.- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 11
- Examples that run
- 100%11 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/vonjd/oner on 2026-10-18.
GitHub Pages site last deployed 2016-08-15
Dependencies
Installing OneR adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 2.2Latest
- RR 3.4.0 released · 2017-04-21
- 2.12016-10-24 · diff ↗
- 2.02016-08-12 · diff ↗
- 1.32016-07-22 · diff ↗
- 1.22016-06-20
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-06-20
- Total releases
- 5 / 10 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 2.9 KB / 1 file
- Download size
- 50 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("OneR")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.