Description Usage Arguments Value
Building a single level for the Random Forest of SDTs.
1 2 | SoftForestPredDepth1(trainresponse, train, test, num.features, ntry,
keep = FALSE)
|
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 |
keep |
Logical if weights from a single observation should be kept. Keep FALSE if a Random Forest is to be built. |
A vector of the final fitted probabilities for this classification.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.