Machine Learning Algorithms with Unified Interface and Confusion Matrices
Overview
A unified interface is provided to various machine learning algorithms like linear or quadratic discriminant analysis, k-nearest neighbors, random forest, support vector machine, ... It allows to train, test, and apply cross-validation using similar functions and function arguments with a minimalist and clean, formula-based interface. Missing data are processed the same way as base and stats R functions for all algorithms, both in training and testing. Confusion matrices are also provided with a rich set of metrics calculated and a few specific plots.
- Documentation is refactored using Roxygen2 and considerably enhanced.
- All camelCase function names now have their equivalence in snake_case, e.g.,
mlRforest-\>ml_rforest(), orconfusionImage()-\>confusion_image()in order to adapt to the coding preferences of the user.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 16includes a package overview page
- Examples that run
- 100%15 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Releases over time
Issues over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/sciviews/mlearning on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-10-13 · The repository has a site deploy workflow
pkgdown site last built 2025-10-13
Show all practicesHide 1 practice
Dependencies
Installing mlearning adds 36 packages (16 with compiled code, 26 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Maintainer since 1.0-0 (2012)
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
- 1.2.1Latest2023-08-30 · current release · diff ↗ ·
removed 1 export
summary.lvqadded 14 exports
confusion_barplot, confusion_dendrogram, confusion_image, confusion_stars, mlRpart, ml_knn, ml_lda, ml_lvq, ml_naive_bayes, ml_nnet, ml_qda, ml_rforest, ml_rpart, ml_svm - RR 4.3.0 released · 2023-04-21
- 1.1.1
- 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
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
Show 2 earlier eventsHide 2 earlier events
- 1.0-02013-01-30
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2013-01-30
- Total releases
- 3 / 13 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.0.4
- Download size
- 52 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mlearning")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.