类 NBTreeClassifierTree
java.lang.Object
weka.classifiers.trees.j48.ClassifierTree
weka.classifiers.trees.j48.NBTreeClassifierTree
- 所有已实现的接口:
Serializable
,CapabilitiesHandler
,Drawable
,RevisionHandler
Class for handling a naive bayes tree structure used for
classification.
- 版本:
- $Revision: 10286 $
- 作者:
- Mark Hall (mhall@cs.waikato.ac.nz)
- 另请参阅:
-
字段概要
从接口继承的字段 weka.core.Drawable
BayesNet, Newick, NOT_DRAWABLE, TREE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
buildClassifier
(Instances data) Method for building a naive bayes classifier treeReturns default capabilities of the classifier tree.Returns the revision string.graph()
Returns graph describing the tree.Print the models at the leavestoString()
Prints tree structure.从类继承的方法 weka.classifiers.trees.j48.ClassifierTree
assignIDs, buildTree, buildTree, classifyInstance, cleanup, distributionForInstance, graphType, numLeaves, numNodes, prefix, toSource
-
构造器详细资料
-
NBTreeClassifierTree
-
-
方法详细资料
-
getCapabilities
Returns default capabilities of the classifier tree.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 覆盖:
getCapabilities
在类中ClassifierTree
- 返回:
- the capabilities of this classifier tree
- 另请参阅:
-
buildClassifier
Method for building a naive bayes classifier tree- 覆盖:
buildClassifier
在类中ClassifierTree
- 参数:
data
- the data to build the tree from- 抛出:
Exception
- if something goes wrong
-
printLeafModels
Print the models at the leaves- 返回:
- textual description of the leaf models
-
toString
Prints tree structure.- 覆盖:
toString
在类中ClassifierTree
- 返回:
- the tree structure
-
graph
Returns graph describing the tree.- 指定者:
graph
在接口中Drawable
- 覆盖:
graph
在类中ClassifierTree
- 返回:
- the tree as graph
- 抛出:
Exception
- if something goes wrong
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中ClassifierTree
- 返回:
- the revision
-