Plot effects of certain variables on the predicitons of a given random forest model
1 | rf_effects(rf, class, terms = top_n_importance_names(rf = rf, class = class))
|
rf |
A RandomForest object |
class |
Character. The predicted class name |
terms |
Character. Quoted term names. Defaults to the top 9 most important terms for the given variable as calculated by top_n_importance_names. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.