var_rank_info: Importance variable ranking based on information theory

View source: R/information_theory.R

var_rank_infoR Documentation

Importance variable ranking based on information theory

Description

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).

Usage

var_rank_info(data, target)

Arguments

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.

Value

data frame ordered by gain ratio metric

Examples

## Not run: 
var_rank_info(data_golf, "play_golf")

## End(Not run)

pablo14/funModeling documentation built on July 30, 2023, 10:59 a.m.