best_information_gain: Find the attribute that provides the best information...

Description Usage Arguments Value See Also

View source: R/script.R View source: R/script_BACKUP_1282.R View source: R/script_BACKUP_1990.R View source: R/script_BACKUP_2903.R View source: R/script_BACKUP_3193.R View source: R/script_BASE_1282.R View source: R/script_BASE_1990.R View source: R/script_BASE_2903.R View source: R/script_BASE_3193.R View source: R/script_LOCAL_1282.R View source: R/script_LOCAL_1990.R View source: R/script_LOCAL_2903.R View source: R/script_LOCAL_3193.R View source: R/script_REMOTE_1282.R View source: R/script_REMOTE_1990.R View source: R/script_REMOTE_2903.R View source: R/script_REMOTE_3193.R

Description

best_information_gain investigates a set of attributes of a dataset to find the one that provides the best Information Gain as a splitter for a given target variable.

Usage

1

Arguments

x

the target vector i.e. the entire set of labels (target variable values)

f

a data frame with the candidate attributes as columns

Value

A list with two members: the value of the best information gain and the column index in f of the 'winning' attribute

See Also

information_gain


teofanan/classprobtree documentation built on May 17, 2019, 5:53 p.m.