preproc2 | R Documentation |
Preprocesses a training and a test dataset
preproc2(
X1,
X2,
remove.nan = TRUE,
remove.const = TRUE,
to.scale = TRUE,
verbose = T,
cluster = 0
)
X1: |
training dataset |
X2: |
test dataset |
remove.nan: |
TRUE/FALSE. It removes NaN |
remove.const: |
TRUE/FALSE. It removes constant columns. |
to.scale: |
TRUE/FALSE. It normalizes columns |
cluster: |
Number of feature clusters. If =0 it does nothing. |
preproc2
It performs hierarchical clustering to reduce the number of features
A list with:
X1: preprocessed training dataset
X2: preprocessed training dataset
remcol: indices of remaining columns
groups: indices of clusters components
Gianluca Bontempi gbonte@ulb.ac.be
Handbook Statistical foundations of machine learning
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.