split_using_original_data: split_using_original_data

Description Usage Arguments Details Value

View source: R/hhcartr_reflect_feature_space.R

Description

This function is in an internal only function. It performs an axis-parallel split on the original data.

Usage

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
)

Arguments

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.

Details

The following parameters are supported:

Value

returns a list containing the following: idx, thr, X, NULL, FALSE.


hhcartr documentation built on July 2, 2021, 9:06 a.m.