类 C45ModelSelection
java.lang.Object
weka.classifiers.trees.j48.ModelSelection
weka.classifiers.trees.j48.C45ModelSelection
- 所有已实现的接口:
Serializable
,RevisionHandler
Class for selecting a C4.5-type split for a given dataset.
- 版本:
- $Revision: 1.11 $
- 作者:
- Eibe Frank (eibe@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器构造器说明C45ModelSelection
(int minNoObj, Instances allData) Initializes the split selection method with the given parameters. -
方法概要
修饰符和类型方法说明void
cleanup()
Sets reference to training data to null.Returns the revision string.final ClassifierSplitModel
selectModel
(Instances data) Selects C4.5-type split for the given dataset.final ClassifierSplitModel
selectModel
(Instances train, Instances test) Selects C4.5-type split for the given dataset.
-
构造器详细资料
-
C45ModelSelection
Initializes the split selection method with the given parameters.- 参数:
minNoObj
- minimum number of instances that have to occur in at least two subsets induced by splitallData
- FULL training dataset (necessary for selection of split points).
-
-
方法详细资料
-
cleanup
public void cleanup()Sets reference to training data to null. -
selectModel
Selects C4.5-type split for the given dataset.- 指定者:
selectModel
在类中ModelSelection
-
selectModel
Selects C4.5-type split for the given dataset.- 覆盖:
selectModel
在类中ModelSelection
-
getRevision
Returns the revision string.- 返回:
- the revision
-