类 GainRatioSplitCrit
java.lang.Object
weka.classifiers.trees.j48.SplitCriterion
weka.classifiers.trees.j48.EntropyBasedSplitCrit
weka.classifiers.trees.j48.GainRatioSplitCrit
- 所有已实现的接口:
Serializable
,RevisionHandler
Class for computing the gain ratio for a given distribution.
- 版本:
- $Revision: 1.8 $
- 作者:
- Eibe Frank (eibe@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the revision string.final double
splitCritValue
(Distribution bags) This method is a straightforward implementation of the gain ratio criterion for the given distribution.final double
splitCritValue
(Distribution bags, double totalnoInst, double numerator) This method computes the gain ratio in the same way C4.5 does.从类继承的方法 weka.classifiers.trees.j48.EntropyBasedSplitCrit
logFunc, newEnt, oldEnt, splitEnt
从类继承的方法 weka.classifiers.trees.j48.SplitCriterion
splitCritValue, splitCritValue, splitCritValue
-
构造器详细资料
-
GainRatioSplitCrit
public GainRatioSplitCrit()
-
-
方法详细资料
-
splitCritValue
This method is a straightforward implementation of the gain ratio criterion for the given distribution.- 覆盖:
splitCritValue
在类中SplitCriterion
- 返回:
- value of splitting criterion. 0 by default
-
splitCritValue
This method computes the gain ratio in the same way C4.5 does.- 参数:
bags
- the distributiontotalnoInst
- the weight of ALL instancesnumerator
- the info gain
-
getRevision
Returns the revision string.- 返回:
- the revision
-