20 #ifndef DIMENSION_REDUCTION_H 21 #define DIMENSION_REDUCTION_H 24 #include <mlpack/core.hpp> 35 namespace DimensionReduction
40 arma::mat &X_loadings,
41 arma::mat &Y_loadings,
44 arma::mat &coefficients,
45 arma::mat &percent_variance,
50 arma::mat &endmember_spectra,
51 arma::mat &projected_data,
52 arma::mat &fractional_abundances);
63 arma::mat &noise_correlation,
64 const arma::mat &sample);
73 #endif //DIMENSION_REDUCTION_H VESPUCCI_EXPORT bool svds(const arma::mat &X, arma::uword k, arma::mat &U, arma::vec &s, arma::mat &V)
Vespucci::Math::DimensionReduction::svds Finds a few largest singular values of the arma::matrix X...
VESPUCCI_EXPORT bool VCA(const arma::mat &R, arma::uword p, arma::uvec &indices, arma::mat &endmember_spectra, arma::mat &projected_data, arma::mat &fractional_abundances)
Vespucci::Math::DimensionReduction::VCA Vertex Component Analysis.
VESPUCCI_EXPORT double estimate_snr(const arma::mat &R, arma::vec r_m, arma::mat x)
Vespucci::Math Estimates Signal-to-Noise ratio. .
VESPUCCI_EXPORT size_t HySime(const arma::mat &y, const arma::mat &n, arma::mat &Rn, arma::mat &Ek)
Vespucci::Math::DimensionReduction::HySime.
VESPUCCI_EXPORT bool plsregress(arma::mat X, arma::mat Y, int components, arma::mat &X_loadings, arma::mat &Y_loadings, arma::mat &X_scores, arma::mat &Y_scores, arma::mat &coefficients, arma::mat &percent_variance, arma::mat &fitted)
Vespucci::MathDimensionReduction::plsregress PLS Regression Using SIMPLS algorithm. This is essentially a line-for-line rewrite of plsregress from the Octave statistics package. Copyright (C) 2012 Fernando Damian Nieuwveldt fdnieuwveldt@gmail.com This is an implementation of the SIMPLS algorithm: Reference: SIMPLS: An alternative approach to partial least squares regression. Chemometrics and Intelligent Laboratory Systems (1993)
VESPUCCI_EXPORT void EstimateAdditiveNoise(arma::mat &noise, arma::mat &noise_correlation, const arma::mat &sample)
Vespucci::Math::DimensionReduction::EstimateAdditiveNoise.
A namespace for "global" functions, including math functions.