|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.bayes.net.search.SearchAlgorithm
public class SearchAlgorithm
This is the base class for all search algorithms for learning Bayes networks. It contains some common code, used by other network structure search algorithms, and should not be used by itself.
Constructor Summary | |
---|---|
SearchAlgorithm()
c'tor |
Method Summary | |
---|---|
void |
buildStructure(BayesNet bayesNet,
Instances instances)
buildStructure determines the network structure/graph of the network. |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier. |
java.lang.String |
getRevision()
Returns the revision string. |
java.lang.String |
initAsNaiveBayesTipText()
|
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options. |
java.lang.String |
maxNrOfParentsTipText()
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options. |
java.lang.String |
toString()
a string representation of the algorithm |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchAlgorithm()
Method Detail |
---|
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of strings
java.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
public java.lang.String toString()
toString
in class java.lang.Object
public void buildStructure(BayesNet bayesNet, Instances instances) throws java.lang.Exception
bayesNet
- the networkinstances
- the data to use
java.lang.Exception
- if something goes wrongpublic java.lang.String maxNrOfParentsTipText()
public java.lang.String initAsNaiveBayesTipText()
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |