cor_dist {RAFS} | R Documentation |
Feature dissimilarity based on Pearson's Correlation (cor)
Description
To be used as one of the dist_funs
in run_rafs
.
Usage
cor_dist(relevant_train_data, train_decision = NULL, seed = NULL)
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 |
Value
A matrix of distances (dissimilarities).
[Package RAFS version 0.2.4 Index]