Description Usage Arguments Value Functions
The top n most important terms for a class
1 2 3 | top_n_importance(rf, class, n)
top_n_importance_names(rf, class, n = 9)
|
rf |
RandomForest object |
class |
Name of the category |
n |
Integer. Number of topmost terms to return |
A data frame with term names and importance values
top_n_importance_names
: Return the names as a vector only
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.