SoftForestPredFeeder {SoftRandomForest} | R Documentation |
SoftForestPredFeeder
is used inside the user interface function to choose the appropriate depth function since the SDT's depth are not generated dynamically.
SoftForestPredFeeder(trainresponse, train, test, num.features, ntry, depth)
trainresponse |
A vector of responses |
train |
A matrix or data frame consisting of all possible variables to attempt for the training set. |
test |
A matrix or data frame consisting of all possible variables to attempt for the test set. |
num.features |
The number of variables in the dataset to possibly try. The leftmost number of variables in the dataset are the variables chosen. |
ntry |
The number of variables from the |
depth |
The number of the depth each SDT should be. Here this ends with 2^{depth - 1} terminal nodes. |
SoftForestPredDepth
chooses the correct of five possible depths that has functioning code. Any invalid attempt returns an error.
The output from the chosen function.