类 MakeDecList
java.lang.Object
weka.classifiers.rules.part.MakeDecList
- 所有已实现的接口:
Serializable
,CapabilitiesHandler
,RevisionHandler
public class MakeDecList
extends Object
implements Serializable, CapabilitiesHandler, RevisionHandler
Class for handling a decision list.
- 版本:
- $Revision: 5529 $
- 作者:
- Eibe Frank (eibe@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器构造器说明MakeDecList
(ModelSelection toSelectLocModel, double cf, int minNum) Constructor for dec list pruned using C4.5 pruning.MakeDecList
(ModelSelection toSelectLocModel, int minNum) Constructor for unpruned dec list.MakeDecList
(ModelSelection toSelectLocModel, int num, int minNum, int seed) Constructor for dec list pruned using hold-out pruning. -
方法概要
修饰符和类型方法说明void
buildClassifier
(Instances data) Builds dec list.double
classifyInstance
(Instance instance) Classifies an instance.double[]
distributionForInstance
(Instance instance) Returns the class distribution for an instance.Returns default capabilities of the classifier.Returns the revision string.int
numRules()
Outputs the number of rules in the classifier.toString()
Outputs the classifier into a string.
-
构造器详细资料
-
MakeDecList
Constructor for unpruned dec list. -
MakeDecList
Constructor for dec list pruned using C4.5 pruning. -
MakeDecList
Constructor for dec list pruned using hold-out pruning.
-
-
方法详细资料
-
getCapabilities
Returns default capabilities of the classifier.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 返回:
- the capabilities of this classifier
- 另请参阅:
-
buildClassifier
Builds dec list.- 抛出:
Exception
- if dec list can't be built successfully
-
toString
Outputs the classifier into a string. -
classifyInstance
Classifies an instance.- 抛出:
Exception
- if instance can't be classified
-
distributionForInstance
Returns the class distribution for an instance.- 抛出:
Exception
- if distribution can't be computed
-
numRules
public int numRules()Outputs the number of rules in the classifier. -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-