Interface AMRulesSplitCriterion
-
- All Superinterfaces:
Configurable
,MOAObject
,OptionHandler
,Serializable
,SplitCriterion
- All Known Implementing Classes:
SDRSplitCriterionAMRules
,SDRSplitCriterionAMRulesNode
,VarianceRatioSplitCriterion
,VRSplitCriterion
public interface AMRulesSplitCriterion extends SplitCriterion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[]
computeBranchSplitMerits(double[][] postSplitDists)
double
getMeritOfSplit(double[] preSplitDist, double[][] postSplitDists)
Computes the merit of splitting for a given ditribution before the split and after it.double
getRangeOfMerit(double[] preSplitDist)
Computes the range of splitting merit-
Methods inherited from interface moa.MOAObject
getDescription, measureByteSize
-
Methods inherited from interface moa.options.OptionHandler
copy, getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
-
-
-
-
Method Detail
-
computeBranchSplitMerits
double[] computeBranchSplitMerits(double[][] postSplitDists)
-
getMeritOfSplit
double getMeritOfSplit(double[] preSplitDist, double[][] postSplitDists)
Description copied from interface:SplitCriterion
Computes the merit of splitting for a given ditribution before the split and after it.- Specified by:
getMeritOfSplit
in interfaceSplitCriterion
- Parameters:
preSplitDist
- the class distribution before the splitpostSplitDists
- the class distribution after the split- Returns:
- value of the merit of splitting
-
getRangeOfMerit
double getRangeOfMerit(double[] preSplitDist)
Description copied from interface:SplitCriterion
Computes the range of splitting merit- Specified by:
getRangeOfMerit
in interfaceSplitCriterion
- Parameters:
preSplitDist
- the class distribution before the split- Returns:
- value of the range of splitting merit
-
-