Xmipp
v3.23.11-Nereus
|
#include <pca.h>
Public Member Functions | |
Running_PCA (int _J, int _d) | |
void | project (const Matrix1D< double > &input, Matrix1D< double > &output) const |
void | get_eigenvector (int j, Matrix1D< double > &result) const |
Get a certain eigenvector. More... | |
double | get_eigenvector_variance (int j) const |
Get the variance associated to a certain eigenvector. More... | |
Public Attributes | |
int | J |
Total number of eigenvectors to be computed. More... | |
int | d |
Dimension of the sample vectors. More... | |
Matrix1D< double > | current_sample_mean |
Current estimate of the population mean. More... | |
long | n |
Current number of samples seen. More... | |
Matrix2D< double > | eigenvectors |
Matrix1D< double > | sum_all_samples |
Matrix1D< double > | sum_proj |
Matrix1D< double > | sum_proj2 |
Running PCA. Running PCA is an algorithm that estimates iteratively the principal components of a dataset that is provided to the algorithm as vectors are available.
See J. Weng, Y. Zhang, W.S. Hwang. Candid covariance-free incremental principal component analysis. IEEE Trans. On Pattern Analysis and Machine Intelligence, 25(8): 1034-1040 (2003).
Running_PCA::Running_PCA | ( | int | _J, |
int | _d | ||
) |
|
inline |
|
inline |
Matrix1D<double> Running_PCA::current_sample_mean |
Matrix2D<double> Running_PCA::eigenvectors |
int Running_PCA::J |