Description Usage Arguments Details Value
View source: R/hhcartr_reflect_feature_space.R
This function is in an internal only function. It performs an axis-parallel split on the original data.
1 2 3 4 5 6 7 8 9 | split_using_original_data(
X,
y,
most_freq_class,
split_original,
n_classes,
max_features,
depth
)
|
X |
The feature variables of the current node being processed. |
y |
The target variable for the corresponding feature variables. |
most_freq_class |
The most frequently occurring class at the current node. |
split_original |
A flag, TRUE if splitting on original data otherwise FALSE. |
n_classes |
The number of classes in the target variable. |
max_features |
The maximum number of features to consider in the current split. |
depth |
The depth of the current tree. |
The following parameters are supported:
returns a list containing the following: idx, thr, X, NULL, FALSE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.