Naive Bayes  0.0.1
 All Classes Files Functions Variables Pages
Classes | Public Member Functions | Protected Member Functions | List of all members
TAN Class Reference
Inheritance diagram for TAN:
NaiveBayes

Classes

class  NetNode
 

Public Member Functions

 TAN ()
 
void learn (DataSet trainSet)
 
- Public Member Functions inherited from NaiveBayes
 NaiveBayes ()
 
void learn (DataSet trainSet)
 
boolean classify (DataSet testSet)
 

Protected Member Functions

ClassifyResult classify (String[] attributeValue)
 
void printStructure ()
 
- Protected Member Functions inherited from NaiveBayes
void printStructure ()
 
ClassifyResult classify (String[] attributeValue)
 

Detailed Description

Tree Augmented Network. Friedman et al., Machine Learning 1997

Ref: http://www.cs.technion.ac.il/~dang/journal_papers/friedman1997Bayesian.pdf Ref: http://ai.stanford.edu/~moises/tutorial/sld164.htm

Extends NaiveBayes class

Constructor & Destructor Documentation

TAN.TAN ( )
inline

Constructor of TAN

Member Function Documentation

ClassifyResult TAN.classify ( String[]  attributeValue)
inlineprotected

Given an array of attributes, classify it with trained bayes net, return the classification

Parameters
attributeValueAn array of attribute values
Returns
classification result, including the label and probability
void TAN.learn ( DataSet  trainSet)
inline

TAN learn method.

In addition to NaiveBayes probs, it will learn more such as condition mutual info, bi-attribute probabilities, build the net

Parameters
trainSetDataSet to train on
void TAN.printStructure ( )
inlineprotected

Print structure


The documentation for this class was generated from the following file: