stig_from_ig_dist {RAFS} | R Documentation |
Symmetric Target Information Gain (STIG) computed from single Information Gains (IGs)
Description
To be used as one of the dist_funs
in run_rafs
.
Usage
stig_from_ig_dist(relevant_train_data, train_decision, seed)
Arguments
relevant_train_data |
input data where columns are variables and rows are observations (all numeric); assumed to contain only relevant data |
train_decision |
decision variable as a binary sequence of length equal to number of observations |
seed |
a numerical seed |
Details
This function computes the STIG metric from single Information Gains (IGs) maximised over 30 discretisations and then summed pair-wise.
This function is similar to stig_dist
but the results differ slightly. We recommend the direct computation in general.
Value
A matrix of distances (dissimilarities).
[Package RAFS version 0.2.4 Index]