|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweka.classifiers.bayes.net.search.SearchAlgorithm
weka.classifiers.bayes.net.search.fixed.FromFile
The FromFile reads the structure of a Bayes net from a file in BIFF format.
| Constructor Summary | |
FromFile()
|
|
| Method Summary | |
void |
buildStructure(BayesNet bayesNet,
Instances instances)
buildStructure determines the network structure/graph of the network. |
java.lang.String |
getBIFFile()
Get name of network in BIF file to read structure from |
java.lang.String[] |
getOptions()
Gets the current settings of the search algorithm. |
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options. |
void |
setBIFFile(java.lang.String sBIFFile)
Set name of network in BIF file to read structure from |
void |
setOptions(java.lang.String[] options)
Parses a given list of options. |
| Methods inherited from class weka.classifiers.bayes.net.search.SearchAlgorithm |
getMarkovBlanketClassifier, initAsNaiveBayesTipText, markovBlanketClassifierTipText, maxNrOfParentsTipText, setMarkovBlanketClassifier, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FromFile()
| Method Detail |
public void buildStructure(BayesNet bayesNet,
Instances instances)
throws java.lang.Exception
SearchAlgorithm
buildStructure in class SearchAlgorithmjava.lang.Exceptionpublic void setBIFFile(java.lang.String sBIFFile)
sBIFFile - public java.lang.String getBIFFile()
public java.util.Enumeration listOptions()
listOptions in interface OptionHandlerlistOptions in class SearchAlgorithm
public void setOptions(java.lang.String[] options)
throws java.lang.Exception
-B Set the random order to true (default false).
setOptions in interface OptionHandlersetOptions in class SearchAlgorithmoptions - 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 OptionHandlergetOptions in class SearchAlgorithm
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||