PDEnaiveBayes: Plausible Naive Bayes Classifier Using PDE

Provides a nonparametric, multicore-capable plausible naive Bayes classifier based on Pareto density estimation (PDE). It addresses low-evidence cases through a plausibility correction. To enhance the interpretability of the flexible naive Bayes classifier by revealing its posterior structure and feature-wise, class-specific evidence, posterior probabilities can be visualized as class-wise line plots for one-dimensional data or color-coded Voronoi diagrams for pairwise feature projections, and class-conditional PDE likelihoods as overlaid, mirrored density profiles resembling violin plots. Methodological details are provided by Stier, Q., Hoffmann, J. and Thrun, M. C. (2026) "Classifying with the Fine Structure of Distributions: Leveraging Distributional Information for Robust and Plausible Naive Bayes" <doi:10.3390/make8010013>. For multicore computations, the implementation applies the general memory-sharing approach described by Thrun, M. C. and Märte, J. (2026) "memshare: Memory Sharing for Multicore Computation in R with an Application to Feature Selection by Mutual Information using PDE" <doi:10.32614/RJ-2025-043>.

Version: 0.4.0
Depends: R (≥ 2.10)
Imports: Rcpp (≥ 1.0.8), RcppParallel (≥ 5.1.4), pracma, plotly, utils, grDevices, stats, graphics, methods, ggplot2, DatabionicSwarm, memshare
LinkingTo: Rcpp, RcppParallel
Suggests: FCPS (≥ 1.3.5), ABCanalysis, modeest, deldir, ScatterDensity (≥ 0.1.1), gridExtra, parallelDist, parallel, DataVisualizations (≥ 1.1.5), knitr
Published: 2026-07-19
DOI: 10.32614/CRAN.package.PDEnaiveBayes
Author: Michael Thrun ORCID iD [aut, cph, cre], Quirin Stier ORCID iD [aut, rev], Tim Robin Neldner [ctr, ctb]
Maintainer: Michael Thrun <m.thrun at gmx.net>
BugReports: https://github.com/Mthrun/PDEbayes/issues
License: GPL-3
NeedsCompilation: yes
Citation: PDEnaiveBayes citation info
Materials: README
CRAN checks: PDEnaiveBayes results

Documentation:

Reference manual: PDEnaiveBayes.html , PDEnaiveBayes.pdf
Vignettes: An Introduction to PDE naive Bayes (PDENB) (source, R code)

Downloads:

Package source: PDEnaiveBayes_0.4.0.tar.gz
Windows binaries: r-devel: PDEnaiveBayes_0.3.0.zip, r-release: PDEnaiveBayes_0.3.0.zip, r-oldrel: PDEnaiveBayes_0.3.0.zip
macOS binaries: r-release (arm64): PDEnaiveBayes_0.4.0.tgz, r-oldrel (arm64): PDEnaiveBayes_0.4.0.tgz, r-release (x86_64): PDEnaiveBayes_0.4.0.tgz, r-oldrel (x86_64): PDEnaiveBayes_0.4.0.tgz
Old sources: PDEnaiveBayes archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=PDEnaiveBayes to link to this page.