View source: R/information_theory.R
var_rank_info | R Documentation |
Retrieves a data frame containing several metrics related to information theory. Metrics are: entropy (en), mutual information (mi), information gain (ig) and gain ratio (gr).
var_rank_info(data, target)
data |
input data frame, all the variables will be evaluated against the variable defined in 'target' parameter |
target |
string variable name containing the output variable. |
data frame ordered by gain ratio metric
var_rank_info(data_golf, "play_golf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.