High Performance Implementation of the Naive Bayes Algorithm
Overview
In this implementation of the Naive Bayes classifier following class conditional distributions are available: 'Bernoulli', 'Categorical', 'Gaussian', 'Poisson', 'Multinomial' and non-parametric representation of the class conditional density estimated via Kernel Density Estimation. Implemented classifiers handle missing data and can take advantage of sparse data.
Major Release: Maturity and Stability:
- The package has reached a significant milestone of maturity and stability, leading to the version update to 1.0.0.
- Improvement: enhanced print methods.
- Improvement: updated documentation.
- Improvement: minor internal enhancements.
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 22includes a package overview page
- Examples that run
- 100%21 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 18%
Downloads
Repository
- PRs merged (all time)
- 33%
- Median days to close, 50 most recently updated closed issues
- 25
- Median days to close, 50 most recently updated closed PRs
- 33
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/majkamichal/naivebayes on 2026-10-11.
GitHub Pages site last deployed 2025-11-21
pkgdown site last built 2025-11-21
Dependencies
Installing naivebayes adds no packages beyond those that come with R.
Show all 18 packagesHide all 18 packages
Code & Tests
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
- 1.0.0Latest
- 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
- 0.9.72020-03-08 · diff ↗
- 0.9.62019-06-03 · diff ↗ ·
added 8 exports
bernoulli_naive_bayes, gaussian_naive_bayes, multinomial_naive_bayes, nonparametric_naive_bayes, poisson_naive_bayes, get_cond_dist, %class%, %prob% - RR 3.6.0 released · 2019-04-26
- 0.9.52019-03-17 · diff ↗
- 0.9.42019-03-10 · diff ↗
- 0.9.32019-01-07 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.9.22018-01-03 · diff ↗
Package metadata
- First published
- 2017-01-05
- Total releases
- 9 / 9 yrs
- License
- GPL-2 OSI
- Download size
- 749 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("naivebayes")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.