CRAN
naivebayes 0.9.6
High Performance Implementation of the Naive Bayes Algorithm
Released Jun 3, 2019 by Michal Majka
This package can be loaded by Renjin but 7 out 21 tests failed.
An older version of this package is
more compatible with Renjin.
In this implementation of the Naive Bayes classifier following class conditional distributions are available: Bernoulli, Categorical, Gaussian, Poisson and non-parametric representation of the class conditional density estimated via Kernel Density Estimation.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>naivebayes</artifactId> <version>0.9.6-b1</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:naivebayes')
Test Results
This package was last tested against Renjin 0.9.2726 on Jul 13, 2019.
- bernoulli_naive_bayes-examples
- coef-examples
- gaussian_naive_bayes-examples
- get_cond_dist-examples
- infix_class_prob-examples
- multinomial_naive_bayes-examples
- naive_bayes-examples
- nonparametric_naive_bayes-examples
- plot.bernoulli_naive_bayes-examples
- plot.gaussian_naive_bayes-examples
- plot.naive_bayes-examples
- plot.nonparametric_naive_bayes-examples
- plot.poisson_naive_bayes-examples
- poisson_naive_bayes-examples
- predict.bernoulli_naive_bayes-examples
- predict.gaussian_naive_bayes-examples
- predict.multinomial_naive_bayes-examples
- predict.naive_bayes-examples
- predict.nonparametric_naive_bayes-examples
- predict.poisson_naive_bayes-examples
- tables-examples