PCA
Source header: cuvs/preprocessing/pca.hpp
Types
preprocessing::pca::params
Parameters for PCA decomposition. Ref: http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.PCA.html
Fields
PCA (Principal Component Analysis)
preprocessing::pca::fit
Perform PCA fit operation (col-major input).
Computes the principal components, explained variances, singular values, and column means from the input data.
Parameters
Returns
void
Additional overload: preprocessing::pca::fit
Perform PCA fit operation (row-major input).
Same as the col-major overload, but operates natively on row-major (C-contiguous) data with no internal copy/transpose of the input. The output components matrix is also row-major.
Parameters
Returns
void
preprocessing::pca::fit_transform
Perform PCA fit and transform operations (col-major).
Computes the principal components and transforms the input data into the eigenspace in a single operation.
Parameters
Returns
void
Additional overload: preprocessing::pca::fit_transform
Perform PCA fit and transform operations (row-major).
Same as the col-major overload but operates natively on row-major data.
Parameters
Returns
void
preprocessing::pca::transform
Perform PCA transform operation (col-major).
Transforms the input data into the eigenspace using previously computed principal components.
Parameters
Returns
void
Additional overload: preprocessing::pca::transform
Perform PCA transform operation (row-major).
Parameters
Returns
void
preprocessing::pca::inverse_transform
Perform PCA inverse transform operation (col-major).
Transforms data from the eigenspace back to the original space.
Parameters
Returns
void
Additional overload: preprocessing::pca::inverse_transform
Perform PCA inverse transform operation (row-major).
Parameters
Returns
void