public class VarianceReductionSplitCriterion extends AbstractOptionHandler implements SplitCriterion
classOptionNamesToPreparedObjects, options| Constructor and Description |
|---|
VarianceReductionSplitCriterion() |
| Modifier and Type | Method and Description |
|---|---|
static double |
computeSD(double[] dist) |
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, discoverOptionsViaReflection, getCLICreationString, getOptions, getPreparedClassOption, getPreparedClassOption, getPurposeString, prepareClassOptions, prepareForUse, prepareForUsecopy, measureByteSize, measureByteSize, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, getCLICreationString, getOptions, getPurposeString, prepareForUse, prepareForUsemeasureByteSizepublic double getMeritOfSplit(double[] preSplitDist,
double[][] postSplitDists)
SplitCriteriongetMeritOfSplit in interface SplitCriterionpreSplitDist - the class distribution before the splitpublic double getRangeOfMerit(double[] preSplitDist)
SplitCriteriongetRangeOfMerit in interface SplitCriterionpreSplitDist - the class distribution before the splitpublic static double computeSD(double[] dist)
public void getDescription(StringBuilder sb, int indent)
MOAObjectAbstractMOAObject.toString
to give a string representation of the object.getDescription in interface MOAObjectsb - the stringbuilder to add the descriptionindent - the number of characters to indentprotected void prepareForUseImpl(TaskMonitor monitor, ObjectRepository repository)
AbstractOptionHandlerprepareForUseImpl
and not prepareForUse since
prepareForUse calls prepareForUseImpl.prepareForUseImpl in class AbstractOptionHandlermonitor - the TaskMonitor to userepository - the ObjectRepository to useCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.