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>

View build log

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.