public class VarianceRatioSplitCriterion extends AbstractOptionHandler implements AMRulesSplitCriterion
config
Constructor and Description |
---|
VarianceRatioSplitCriterion() |
Modifier and Type | Method and Description |
---|---|
double[] |
computeBranchSplitMerits(double[][] postSplitDists) |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
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
|
protected void |
prepareForUseImpl(TaskMonitor monitor,
ObjectRepository repository)
This method describes the implementation of how to prepare this object for use.
|
copy, getCLICreationString, getOptions, getPreparedClassOption, getPurposeString, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUse
measureByteSize
public double[] computeBranchSplitMerits(double[][] postSplitDists)
computeBranchSplitMerits
in interface AMRulesSplitCriterion
public double getMeritOfSplit(double[] preSplitDist, double[][] postSplitDists)
SplitCriterion
getMeritOfSplit
in interface SplitCriterion
getMeritOfSplit
in interface AMRulesSplitCriterion
preSplitDist
- the class distribution before the splitpublic double getRangeOfMerit(double[] preSplitDist)
SplitCriterion
getRangeOfMerit
in interface SplitCriterion
getRangeOfMerit
in interface AMRulesSplitCriterion
preSplitDist
- the class distribution before the splitpublic void getDescription(StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.getDescription
in interface MOAObject
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentprotected void prepareForUseImpl(TaskMonitor monitor, ObjectRepository repository)
AbstractOptionHandler
prepareForUseImpl
and not prepareForUse
since
prepareForUse
calls prepareForUseImpl
.prepareForUseImpl
in class AbstractOptionHandler
monitor
- the TaskMonitor to userepository
- the ObjectRepository to useCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.