Learn R Programming

parameters (version 0.5.0)

DRR: Dimensionality Reduction via Regression (DRR)

Description

Dimensionality Reduction via Regression (DRR) is a very recent technique extending PCA (Laparra et al., 2015). Starting from a rotated PCA, it predicts redundant information from the remaining components using non-linear regression. Some of the most notable advantages of performing PCR are avoidance of multicollinearity between predictors and overfitting mitigation. PCR tends to perform well when the first principal components are enough to explain most of the variation in the predictors. Requires the DRR package to be installed.

Usage

DRR(x, n = "all", ...)

Arguments

x

A dataframe or a statistical model.

n

Number of components to extract. If n="all", then n is set as the number of variables minus 1 (ncol(x)-1). If n="auto" (default) or n=NULL, the number of components is selected through n_factors. In reduce_parameters, can also be "max", in which case it will select all the components that are maximally pseudo-loaded (i.e., correlated) by at least one variable.

...

Arguments passed to or from other methods.

References

  • Laparra, V., Malo, J., & Camps-Valls, G. (2015). Dimensionality reduction via regression in hyperspectral imagery. IEEE Journal of Selected Topics in Signal Processing, 9(6), 1026-1036.

Examples

Run this code
# NOT RUN {
DRR(iris[, 1:4])
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab