类 InfoGainSplitCrit

所有已实现的接口:
Serializable, RevisionHandler

public final class InfoGainSplitCrit extends EntropyBasedSplitCrit
Class for computing the information gain for a given distribution.
版本:
$Revision: 1.10 $
作者:
Eibe Frank (eibe@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • InfoGainSplitCrit

      public InfoGainSplitCrit()
  • 方法详细资料

    • splitCritValue

      public final double splitCritValue(Distribution bags)
      This method is a straightforward implementation of the information gain criterion for the given distribution.
      覆盖:
      splitCritValue 在类中 SplitCriterion
      返回:
      value of splitting criterion. 0 by default
    • splitCritValue

      public final double splitCritValue(Distribution bags, double totalNoInst)
      This method computes the information gain in the same way C4.5 does.
      参数:
      bags - the distribution
      totalNoInst - weight of ALL instances (including the ones with missing values).
    • splitCritValue

      public final double splitCritValue(Distribution bags, double totalNoInst, double oldEnt)
      This method computes the information gain in the same way C4.5 does.
      参数:
      bags - the distribution
      totalNoInst - weight of ALL instances
      oldEnt - entropy with respect to "no-split"-model.
    • getRevision

      public String getRevision()
      Returns the revision string.
      返回:
      the revision