stig_stable_dist {RAFS} | R Documentation |
Symmetric Target Information Gain (STIG) computed directly but with pre-computed 1D conditional entropy (aka stable)
Description
To be used as one of the dist_funs
in run_rafs
.
Usage
stig_stable_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 directly from the data, maximising it over 30 discretisations, but reusing the common 1D conditional entropy.
Value
A matrix of distances (dissimilarities).
[Package RAFS version 0.2.4 Index]