public class MultiTargetVarianceRatio extends AbstractOptionHandler implements MultiLabelSplitCriterion
config
Constructor and Description |
---|
MultiTargetVarianceRatio() |
Modifier and Type | Method and Description |
---|---|
double[] |
getBranchesSplitMerits(DoubleVector[][] postSplitDists) |
double[] |
getBranchSplitVarianceOutput(DoubleVector[] postSplitDists) |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
double |
getMeritOfSplit(DoubleVector[] preSplitDist,
DoubleVector[][] postSplitDists) |
protected double |
getMeritOfSplitForOutput(DoubleVector[] preSplitDist,
DoubleVector[][] postSplitDists,
int outputAttributeIndex) |
protected double |
getMeritOfSplitForOutput(DoubleVector preSplitDist,
DoubleVector[] postSplitDists) |
double |
getRangeOfMerit(DoubleVector[] preSplitDist) |
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 getMeritOfSplit(DoubleVector[] preSplitDist, DoubleVector[][] postSplitDists)
getMeritOfSplit
in interface MultiLabelSplitCriterion
public double[] getBranchSplitVarianceOutput(DoubleVector[] postSplitDists)
public double[] getBranchesSplitMerits(DoubleVector[][] postSplitDists)
getBranchesSplitMerits
in interface MultiLabelSplitCriterion
protected double getMeritOfSplitForOutput(DoubleVector[] preSplitDist, DoubleVector[][] postSplitDists, int outputAttributeIndex)
protected double getMeritOfSplitForOutput(DoubleVector preSplitDist, DoubleVector[] postSplitDists)
public double getRangeOfMerit(DoubleVector[] preSplitDist)
getRangeOfMerit
in interface MultiLabelSplitCriterion
public 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.