Skip to content

Commit 6765248

Browse files
committed
list of importance measures
1 parent 8386a67 commit 6765248

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

R/measure_importance.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ measure_p_value <- function(importance_frame){
7979
#'
8080
#' @param forest A random forest produced by the function randomForest with option localImp = TRUE
8181
#' @param mean_sample The sample of trees on which mean minimal depth is calculated, possible values are "all_trees", "top_trees", "relevant_trees"
82-
#' @param measures A vector of names of importance measures to be calculated - if equal to NULL then all are calculated; if "p_value" is to be calculated then "no_of_nodes" will be too
82+
#' @param measures A vector of names of importance measures to be calculated - if equal to NULL then all are calculated;
83+
#' if "p_value" is to be calculated then "no_of_nodes" will be too. Suitable measures for \code{classification} forests are:
84+
#' \code{mean_min_depth}, \code{accuracy_decrease}, \code{gini_decrease}, \code{no_of_nodes},
85+
#' \code{times_a_root}. For \code{regression} forests choose from: \code{mean_min_depth},
86+
#' \code{mse_increase}, \code{node_purity_increase}, \code{no_of_nodes}, \code{times_a_root}.
8387
#'
8488
#' @return A data frame with rows corresponding to variables and columns to various measures of importance of variables
8589
#'

man/measure_importance.Rd

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)