Uses of Class
weka.classifiers.trees.ht.WeightMass
-
Uses of WeightMass in weka.classifiers.trees.ht
Modifier and TypeFieldDescriptionHNode.m_classDistribution
Class distribution at this nodeSplitCandidate.m_postSplitClassDistributions
list of class distributions resulting from a split - 2 entries in the outer list for numeric splits and n for nominal splitsModifier and TypeMethodDescriptionabstract SplitCandidate
ConditionalSufficientStats.bestSplit
(SplitMetric splitMetric, Map<String, WeightMass> preSplitDist, String attName) Return the best splitGaussianConditionalSufficientStats.bestSplit
(SplitMetric splitMetric, Map<String, WeightMass> preSplitDist, String attName) NominalConditionalSufficientStats.bestSplit
(SplitMetric splitMetric, Map<String, WeightMass> preSplitDist, String attName) double
GiniSplitMetric.evaluateSplit
(Map<String, WeightMass> preDist, List<Map<String, WeightMass>> postDist) double
GiniSplitMetric.evaluateSplit
(Map<String, WeightMass> preDist, List<Map<String, WeightMass>> postDist) double
InfoGainSplitMetric.evaluateSplit
(Map<String, WeightMass> preDist, List<Map<String, WeightMass>> postDist) double
InfoGainSplitMetric.evaluateSplit
(Map<String, WeightMass> preDist, List<Map<String, WeightMass>> postDist) abstract double
SplitMetric.evaluateSplit
(Map<String, WeightMass> preDist, List<Map<String, WeightMass>> postDist) Evaluate the merit of a splitabstract double
SplitMetric.evaluateSplit
(Map<String, WeightMass> preDist, List<Map<String, WeightMass>> postDist) Evaluate the merit of a splitdouble
GiniSplitMetric.getMetricRange
(Map<String, WeightMass> preDist) double
InfoGainSplitMetric.getMetricRange
(Map<String, WeightMass> preDist) abstract double
SplitMetric.getMetricRange
(Map<String, WeightMass> preDist) Get the range of the splitting metricstatic double
GiniSplitMetric.gini
(Map<String, WeightMass> dist) Return the gini metric computed from the supplied distributionstatic double
SplitMetric.sum
(Map<String, WeightMass> dist) Utility method to return the sum of instance weight in a distributionModifierConstructorDescriptionHNode
(Map<String, WeightMass> classDistrib) Construct a new HNode with the supplied class distributionInactiveHNode
(Map<String, WeightMass> classDistrib) ConstructorSplitCandidate
(Split splitTest, List<Map<String, WeightMass>> postSplitDists, double merit) ConstructorSplitNode
(Map<String, WeightMass> classDistrib, Split split) Construct a new SplitNode