Skip to content

naivebayes

1.0.0

High Performance Implementation of the Naive Bayes Algorithm

16packages depend
93.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Michal MajkaFirst published 2017-01-059 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 4.2 min · r-release-macos-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
80%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
18%

Downloads

93.7K
CRAN downloads in the past year
Rank #1,645 · ~257/day · ~7.8K/mo
Daily download trend is not available in this view yet.
4.5K30 days
14.5K90 days
93.7K1 year
Compare downloads with other packages →
Also on281 r2u24 autocran1.7K conda_forge54 c2d4u

Repository

Repository
37Stars
5Forks
0Open issues
0Open PRs
2Releases
267Commits
1Contributors
rclassification-modelnaive-bayesr-packagedatasciencemachine-learning
License GPL-2.0 · 267 commits · Last activity 2025-11-21 · 0% stars, 30d

Stars over time

2024-09-05 · 362026-07-07 · 37

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/majkamichal/naivebayes on 2026-08-16.

CRAN release process (1)
CRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (2)
knitrMatrix
Enhances (0)
none

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

9 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.0Latest
    2024-03-16 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.7
    2020-03-08 · diff ↗
  • 0.9.6
    2019-06-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.9.5
    2019-03-17 · diff ↗
  • 0.9.4
    2019-03-10 · diff ↗
  • 0.9.3
    2019-01-07 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9.2
    2018-01-03 · diff ↗
Show 4 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • 0.9.1
    2017-01-15 · diff ↗
  • 0.9.0
    2017-01-05
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2017-01-05
Total releases
9 / 9 yrs
License
GPL-2 OSI
Download size
749 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("naivebayes")
Majka, M. (2024). naivebayes: High Performance Implementation of the Naive Bayes Algorithm (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.naivebayes

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for naivebayes version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-08-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy