14 #ifndef MLPACK_METHODS_RADICAL_RADICAL_HPP 15 #define MLPACK_METHODS_RADICAL_RADICAL_HPP 60 Radical(
const double noiseStdDev = 0.175,
61 const size_t replicates = 30,
62 const size_t angles = 150,
63 const size_t sweeps = 0,
87 double Vasicek(arma::vec& x)
const;
145 arma::mat& matXWhitened,
146 arma::mat& matWhitening);
size_t Angles() const
Get the number of angles considered during brute-force search.
size_t & Angles()
Modify the number of angles considered during brute-force search.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
size_t Sweeps() const
Get the number of sweeps.
size_t & Replicates()
Modify the number of Gaussian-perturbed replicates used per point.
double & NoiseStdDev()
Modify the standard deviation of the additive Gaussian noise.
void DoRadical(const arma::mat &matX, arma::mat &matY, arma::mat &matW, util::Timers &timers=IO::GetTimers())
Run RADICAL.
double DoRadical2D(const arma::mat &matX, util::Timers &timers=IO::GetTimers())
Two-dimensional version of RADICAL.
double NoiseStdDev() const
Get the standard deviation of the additive Gaussian noise.
size_t Replicates() const
Get the number of Gaussian-perturbed replicates used per point.
static util::Timers & GetTimers()
Retrieve the global Timers object.
An implementation of RADICAL, an algorithm for independent component analysis (ICA).
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)
double Vasicek(arma::vec &x) const
Vasicek's m-spacing estimator of entropy, with overlap modification from (Learned-Miller and Fisher...
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...
size_t & Sweeps()
Modify the number of sweeps.