14 #ifndef MLPACK_METHODS_RADICAL_RADICAL_HPP 15 #define MLPACK_METHODS_RADICAL_RADICAL_HPP 74 void DoRadical(
const arma::mat& matX, arma::mat& matY, arma::mat& matW);
82 double Vasicek(arma::vec& x)
const;
139 arma::mat& matXWhitened,
140 arma::mat& matWhitening);
double Vasicek(arma::vec &x) const
Vasicek's m-spacing estimator of entropy, with overlap modification from (Learned-Miller and Fisher...
size_t & Replicates()
Modify the number of Gaussian-perturbed replicates used per point.
double & NoiseStdDev()
Modify the standard deviation of the additive Gaussian noise.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
size_t replicates
Number of Gaussian-perturbed replicates to use (per point) in Radical2D.
arma::mat perturbed
Internal matrix, held as member variable to prevent memory reallocations.
size_t & Sweeps()
Modify the number of sweeps.
size_t & Angles()
Modify the number of angles considered during brute-force search.
double noiseStdDev
Standard deviation of the Gaussian noise added to the replicates of the data points during Radical2D...
double NoiseStdDev() const
Get the standard deviation of the additive Gaussian noise.
size_t Angles() const
Get the number of angles considered during brute-force search.
size_t angles
Number of angles to consider in brute-force search during Radical2D.
void DoRadical(const arma::mat &matX, arma::mat &matY, arma::mat &matW)
Run RADICAL.
size_t Sweeps() const
Get the number of sweeps.
size_t m
Value of m to use for Vasicek's m-spacing estimator of entropy.
void CopyAndPerturb(arma::mat &xNew, const arma::mat &x) const
Make replicates of each data point (the number of replicates is set in either the constructor or with...
double DoRadical2D(const arma::mat &matX)
Two-dimensional version of RADICAL.
An implementation of RADICAL, an algorithm for independent component analysis (ICA).
arma::mat candidate
Internal matrix, held as member variable to prevent memory reallocations.
size_t Replicates() const
Get the number of Gaussian-perturbed replicates used per point.
Radical(const double noiseStdDev=0.175, const size_t replicates=30, const size_t angles=150, const size_t sweeps=0, const size_t m=0)
Set the parameters to RADICAL.
void WhitenFeatureMajorMatrix(const arma::mat &matX, arma::mat &matXWhitened, arma::mat &matWhitening)
size_t sweeps
Number of sweeps; each sweep calls Radical2D once for each pair of dimensions.