Relevant Component Analysis for Supervised Distance Metric Learning

Relevant Component Analysis (RCA) tries to find a linear transformation of the feature space such that the effect of irrelevant variability is reduced in the transformed space.

Build Status AppVeyor Build Status CRAN Version Downloads from the RStudio CRAN mirror

Relevant Component Analysis (RCA) for supervised distance metric learning.


Install RECA from CRAN:


Or try the development version on GitHub:

# install.packages("devtools")



To contribute to this project, please take a look at the Contributing Guidelines first. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.7 by Nan Xiao, 2 years ago,

Report a bug at

Browse source code at

Authors: Nan Xiao [aut, cre]

Documentation:   PDF Manual  

GPL-3 | file LICENSE license

Suggests MASS

See at CRAN