Skip to content

Java implementation of Naive Bayes and Gaussian Naive Bayes.

Notifications You must be signed in to change notification settings

xilodyne/NaiveBayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Naive Bayes / Gaussian Naive Bayes

Java implementation of Naive Bayes (as described by Prof Eamonn Keogh, UCR) and Gaussian Naive Bayes (as described by wikipedia ).

NDArray

These routines make use of the NDArray from Mike Anderson (GitHub).

Required libraries

The xilodyne util libraries are required (GitHub).

xilodyne-util-array-bin.jar
xilodyne-util-data-bin.jar
xilodyne-util-fileio-bin.jar
xilodyne-util-logger-bin.jar
xilodyne-util-metrics-bin.jar
xilodyne-util-weka_helper-bin.jar

Maven requirements (add to your pom.xml or download manually)

<dependency>
    <groupId>net.mikera</groupId>
    <artifactId>vectorz</artifactId>
    <version>0.62.0</version>
</dependency>
<dependency>
    <groupId>de.siegmar</groupId>
    <artifactId>fastcsv</artifactId>
    <version>1.0.1</version>
</dependency
<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.12</version>
    <scope>test</scope>
</dependency>

If the example files are to be run, then also needed is:

<dependency>
    <groupId>nz.ac.waikato.cms.weka</groupId>
    <artifactId>weka-stable</artifactId>
    <version>3.8.0</version>
</dependency>

License

NB & GNB are licensed under the MIT License (link). Other component and libraries licenses are found in the doc directory.

Authors

Austin Davis Holiday - Initial work

I can be reached at aholiday@xilodyne.com

About

Java implementation of Naive Bayes and Gaussian Naive Bayes.

Resources

Stars

Watchers

Forks

Packages

No packages published