类 ClassifierDecList
java.lang.Object
weka.classifiers.rules.part.ClassifierDecList
- 所有已实现的接口:
Serializable
,RevisionHandler
- 直接已知子类:
C45PruneableDecList
,PruneableDecList
Class for handling a rule (partial tree) for a decision list.
- 版本:
- $Revision: 1.13 $
- 作者:
- Eibe Frank (eibe@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器构造器说明ClassifierDecList
(ModelSelection toSelectLocModel, int minNum) Constructor - just calls constructor of class DecList. -
方法概要
修饰符和类型方法说明void
buildDecList
(Instances data, boolean leaf) Builds the partial tree without hold out set.void
Method for building a pruned partial tree.final int
Method for choosing a subset to expand.final int
Choose last index (ie.double
classifyInstance
(Instance instance) Classifies an instance.final void
Cleanup in order to save memory.final double[]
distributionForInstance
(Instance instance) Returns class probabilities for a weighted instance.Returns the revision string.toString()
Prints rules.double
Returns the weight a rule assigns to an instance.
-
构造器详细资料
-
ClassifierDecList
Constructor - just calls constructor of class DecList.
-
-
方法详细资料
-
buildRule
Method for building a pruned partial tree.- 抛出:
Exception
- if something goes wrong
-
buildDecList
Builds the partial tree without hold out set.- 抛出:
Exception
- if something goes wrong
-
classifyInstance
Classifies an instance.- 抛出:
Exception
- if something goes wrong
-
distributionForInstance
Returns class probabilities for a weighted instance.- 抛出:
Exception
- if something goes wrong
-
weight
Returns the weight a rule assigns to an instance.- 抛出:
Exception
- if something goes wrong
-
cleanup
Cleanup in order to save memory. -
toString
Prints rules. -
chooseIndex
public final int chooseIndex()Method for choosing a subset to expand. -
chooseLastIndex
public final int chooseLastIndex()Choose last index (ie. choose rule). -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-