Description Usage Arguments Value Examples
Classify the input with a Random forest classifier. Function uses a vector of tree depth and does a grid search with mtry parameter for the best training error. Once the best Parameters have been identified, it uses them to predict on the test data.
1 |
data |
A list generated by the function PrepareData. It is a list with two components. One is a vector of labels, the other is a data frame of features. The other element of the list is a data frame of test features. |
ntree.vec |
A vector vector of vaues of number of trees that should be tested. |
A list with a dataframe of errors a vector of predictions with the best parameters
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.