|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.trees.j48.ClassifierTree
weka.classifiers.trees.j48.NBTreeClassifierTree
public class NBTreeClassifierTree
Class for handling a naive bayes tree structure used for classification.
| Field Summary |
|---|
| Fields inherited from interface weka.core.Drawable |
|---|
BayesNet, Newick, NOT_DRAWABLE, TREE |
| Constructor Summary | |
|---|---|
NBTreeClassifierTree(ModelSelection toSelectLocModel)
|
|
| Method Summary | |
|---|---|
void |
buildClassifier(Instances data)
Method for building a naive bayes classifier tree |
Capabilities |
getCapabilities()
Returns default capabilities of the classifier tree. |
java.lang.String |
getRevision()
Returns the revision string. |
java.lang.String |
graph()
Returns graph describing the tree. |
java.lang.String |
printLeafModels()
Print the models at the leaves |
java.lang.String |
toString()
Prints tree structure. |
| Methods inherited from class weka.classifiers.trees.j48.ClassifierTree |
|---|
assignIDs, buildTree, buildTree, classifyInstance, cleanup, distributionForInstance, graphType, numLeaves, numNodes, prefix, toSource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NBTreeClassifierTree(ModelSelection toSelectLocModel)
| Method Detail |
|---|
public Capabilities getCapabilities()
getCapabilities in interface CapabilitiesHandlergetCapabilities in class ClassifierTreeCapabilities
public void buildClassifier(Instances data)
throws java.lang.Exception
buildClassifier in class ClassifierTreedata - the data to build the tree from
java.lang.Exception - if something goes wrongpublic java.lang.String printLeafModels()
public java.lang.String toString()
toString in class ClassifierTree
public java.lang.String graph()
throws java.lang.Exception
graph in interface Drawablegraph in class ClassifierTreejava.lang.Exception - if something goes wrongpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class ClassifierTree
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||