fit_classification_random_forest | R Documentation |
klassets_response_xy
objectFit classification random forest to klassets_response_xy
object
fit_classification_random_forest( df, type = "prob", ntree = 500L, maxdepth = NULL, trace = FALSE, ... )
df |
A object from |
type |
Type of prediction, one of prob, response, node. |
ntree |
Number of trees to grow for the forest. |
maxdepth |
Max depth of each trees. |
trace |
A logical indicating if a progress bar shall be printed while the forest grows. |
... |
Options for |
set.seed(123) df <- sim_response_xy(n = 1000, relationship = function(x, y) x**2 > sin(y)) plot(df) dfcrf <- fit_classification_random_forest(df) dfcrf plot(dfcrf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.