public class MSEImpurityMeasureCalculator extends ImpurityMeasureCalculator<MSEImpurityMeasure>
useIdx
Constructor and Description |
---|
MSEImpurityMeasureCalculator(boolean useIdx)
Constructs an instance of MSEImpurityMeasureCalculator.
|
Modifier and Type | Method and Description |
---|---|
StepFunction<MSEImpurityMeasure>[] |
calculate(DecisionTreeData data,
TreeFilter filter,
int depth)
Calculates all impurity measures required required to find a best split and returns them as an array of
StepFunction (for every column). |
columnsCount, getFeatureValue, getFeatureValues, getLabelValue, rowsCount
public MSEImpurityMeasureCalculator(boolean useIdx)
useIdx
- Use index while calculate.public StepFunction<MSEImpurityMeasure>[] calculate(DecisionTreeData data, TreeFilter filter, int depth)
StepFunction
(for every column).calculate
in class ImpurityMeasureCalculator<MSEImpurityMeasure>
data
- Features and labels.StepFunction
(for every column).
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024