| java.lang.Object weka.classifiers.bayes.net.search.SearchAlgorithm weka.classifiers.bayes.net.search.fixed.NaiveBayes
NaiveBayes | public class NaiveBayes extends SearchAlgorithm (Code) | |
The NaiveBayes class generates a fixed Bayes network structure with arrows from the class variable to each of the attribute variables.
author: Remco Bouckaert version: $Revision: 1.5 $ |
serialVersionUID | final static long serialVersionUID(Code) | | for serialization
|
buildStructure | public void buildStructure(BayesNet bayesNet, Instances instances) throws Exception(Code) | | Parameters: bayesNet - Parameters: instances - the instances to work with throws: Exception - if something goes wrong |
globalInfo | public String globalInfo()(Code) | | Returns a string describing this object
a description of the classifier suitable fordisplaying in the explorer/experimenter gui |
Methods inherited from weka.classifiers.bayes.net.search.SearchAlgorithm | protected boolean addArcMakesSense(BayesNet bayesNet, Instances instances, int iAttributeHead, int iAttributeTail)(Code)(Java Doc) public void buildStructure(BayesNet bayesNet, Instances instances) throws Exception(Code)(Java Doc) protected void doMarkovBlanketCorrection(BayesNet bayesNet, Instances instances)(Code)(Java Doc) protected boolean getMarkovBlanketClassifier()(Code)(Java Doc) public String[] getOptions()(Code)(Java Doc) public String initAsNaiveBayesTipText()(Code)(Java Doc) protected boolean isArc(BayesNet bayesNet, int iAttributeHead, int iAttributeTail)(Code)(Java Doc) public Enumeration listOptions()(Code)(Java Doc) protected String markovBlanketClassifierTipText()(Code)(Java Doc) public String maxNrOfParentsTipText()(Code)(Java Doc) protected boolean reverseArcMakesSense(BayesNet bayesNet, Instances instances, int iAttributeHead, int iAttributeTail)(Code)(Java Doc) protected void search(BayesNet bayesNet, Instances instances) throws Exception(Code)(Java Doc) protected void setMarkovBlanketClassifier(boolean bMarkovBlanketClassifier)(Code)(Java Doc) public void setOptions(String[] options) throws Exception(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|