This function is in an internal only function. It performs an axis-parallel split on the original data.
split_using_original_data(
X,
y,
most_freq_class,
split_original,
n_classes,
max_features,
depth
)
The feature variables of the current node being processed.
The target variable for the corresponding feature variables.
The most frequently occurring class at the current node.
A flag, TRUE if splitting on original data otherwise FALSE.
The number of classes in the target variable.
The maximum number of features to consider in the current split.
The depth of the current tree.
returns a list containing the following: idx, thr, X, NULL, FALSE.
The following parameters are supported: