Description Usage Arguments Details Value
View source: R/hhcartr_reflect_feature_space.R
This function is in an internal only function. It applies the householder transformation to the feature data.
1 2 3 4 5 6 7 8 9 10 11 | reflect_feature_space(
X_matrix,
X,
y,
most_freq_class,
n_classes,
max_features,
n_features,
depth,
colx
)
|
X_matrix |
The current node to be tested for a split. |
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. |
n_classes |
The number of classes in the target variable. |
max_features |
The maximum number of features to consider in the current split. |
n_features |
The number of feature variables. |
depth |
The depth of the current tree. |
colx |
The eigenvector column to use. |
The following parameters are supported:
Returns idxA, thrA, gidxA, X_houseA, newH_A if split is on reflected data, otherwise a list containing idx, thr, X, NULL, FALSE is returned when the split is made using the original data when the first eigen vector equals the first column of the identity matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.