InfomaxResult
Namespace: RTPROCESSINGLIB · Library: DSP Library
#include <dsp/extended_infomax.h>
struct UTILSLIB::InfomaxResult
Result structure for Extended Infomax ICA.
src/examples/ex_dsp_preprocessing/main.cpp
const MatrixXd centered = mixed.colwise() - mixed.rowwise().mean(); // infomax expects zero-mean data
const InfomaxResult infomax = ExtendedInfomax::compute(centered, 3, 500, 0.1, 1e-7, true, 42); // the 0.001 default is too slow here
Example
- Full source:
src/examples/ex_dsp_preprocessing/main.cpp - Build target:
ex_dsp_preprocessing(runs under CTest)
Used in examples
ex_dsp_preprocessing
Preprocessing tools of the dsp library on synthetic data with a known ground truth.
src/examples/ex_dsp_preprocessing/main.cpp, line 135
const MatrixXd centered = mixed.colwise() - mixed.rowwise().mean(); // infomax expects zero-mean data
const InfomaxResult infomax = ExtendedInfomax::compute(centered, 3, 500, 0.1, 1e-7, true, 42); // the 0.001 default is too slow here
ok &= expect(infomax.converged && worstRecovery(infomax.matSources, sources) > 0.99,
QString("extended Infomax recovers the sub-Gaussian sources (worst |r| %1)").arg(worstRecovery(infomax.matSources, sources)));
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>