|
||||||||||
| 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. |
String[] |
getOptions()
Gets the current settings of the Classifier. |
String |
getRevision()
Returns the revision string. |
String |
initAsNaiveBayesTipText()
|
Enumeration |
listOptions()
Returns an enumeration describing the available options. |
String |
maxNrOfParentsTipText()
|
void |
setOptions(String[] options)
Parses a given list of options. |
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 Enumeration listOptions()
listOptions in interface OptionHandler
public void setOptions(String[] options)
throws Exception
setOptions in interface OptionHandleroptions - the list of options as an array of strings
Exception - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlerpublic String toString()
toString in class Object
public void buildStructure(BayesNet bayesNet,
Instances instances)
throws Exception
bayesNet - the networkinstances - the data to use
Exception - if something goes wrongpublic String maxNrOfParentsTipText()
public String initAsNaiveBayesTipText()
public String getRevision()
getRevision in interface RevisionHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||