|Constructor and Description|
Finds the best split for the given data.
|Modifier and Type||Method and Description|
Returns the split evaluated as the best for the given data.
Returns the attribute list that determines the split.
public SplitFinder(InMemoryTable table, SplitQualityMeasure splitQualityMeasure, boolean averageSplitpoint, double minObjectsCount, boolean binaryNominalSplits, int maxNumNominalsForCompleteComputation)
table- the data table for which to find the best split attribute and for this the best split
splitQualityMeasure- the quality measure (e.g. gini or gain ratio)
averageSplitpoint- if true, the split point is set as the average of the partition borders, else the upper value of the lower partition is used
minObjectsCount- minimum number of examples for a partition
binaryNominalSplits- if true, nominal attributes are split according to binary subsets, else each nominal value represents one branch
maxNumNominalsForCompleteComputation- the maximum number of nominal values for which all subsets are calculated (results in the optimal binary split); this parameter is only use if
true; if the number of nominal values is higher, a heuristic is applied
public Split getSplit()
public int getSplitAttributeIndex()
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.