Skip to content

Consists of implementations of both Naive Bayes as well as TAN

Notifications You must be signed in to change notification settings

arjunsinghvi/NaiveBayesTAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NaiveBayesTAN

Consists of implementations of both Naive Bayes as well as TAN

Requirements

Python 2.7

Important Scripts

  • bayes: Script that calls bayes.py
  • bayes.py: Contains the implementation of Naive Bayes as well as TAN
  • *.arff: Sample data files

Usage

Command to run the script: ./bayes train-set-file test-set-file n|t

  • n: Naive Bayes
  • t: TAN

TAN algorithm uses Prim's algorithm to find the maximal spanning tree.

About

Consists of implementations of both Naive Bayes as well as TAN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages