the data matrix to reduce, stored column-wise
Assuming mean centered data, compute the covariance matrix.
Compute the unit eigenvectors for the covariance matrix.
Compute the unit eigenvectors for the covariance matrix.
the vector of eigenvalues for the covariance matrrix
Find the Principal Components/Features, the eigenvectors with the k highest eigenvalues.
Find the Principal Components/Features, the eigenvectors with the k highest eigenvalues.
the number of Principal Components (PCs) to find
Center the data about the means (i.
Center the data about the means (i.e., subtract the means) and return the mean vector (i.e., the mean for each varaibale/dimension).
Approximately recover the orginal data by multiplying the reduced matrix by the inverse (via transpose) of the feature matrix and then adding back the means.
Multiply the zero mean data matrix by the feature matrix to reduce dimensionality.
This class computes the Principal Components (PCs) for data matrix x. It can be used to reduce the dimensionality of the data. First find the the PCs by calling findPCs and then call reduceData to reduce the data.