explain_forest | R Documentation |
Explain a target using Random Forest.
explain_forest(data, target, ntree = 50, out = "plot", ...)
data |
A dataset |
target |
Target variable (binary) |
ntree |
Number of trees used for Random Forest |
out |
Output of the function: "plot" | "model" | "importance" | all" |
... |
Further arguments |
Plot of importance (if out = "plot")
data <- create_data_buy()
explain_forest(data, target = buy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.