PCA
Python module: cuvs.preprocessing.pca
Params
Parameters for PCA decomposition.
Parameters
Constructor
Members
n_components
copy
whiten
algorithm
tol
n_iterations
fit
@auto_sync_resources
Compute PCA (fit only).
Computes the principal components, explained variances, singular values, and column means from the input data.
Parameters
Returns
FitOutput
Named tuple with fields: components, explained_var,
explained_var_ratio, singular_vals, mu,
noise_vars.
Examples
fit_transform
@auto_sync_resources
Compute PCA and transform the input data in a single operation.
Parameters
Returns
FitTransformOutput
Named tuple with fields: trans_input, components,
explained_var, explained_var_ratio, singular_vals,
mu, noise_vars.
Examples
inverse_transform
@auto_sync_resources
@auto_convert_output
Transform data from the PCA eigenspace back to the original space.
Parameters
Returns
Examples
transform
@auto_sync_resources
@auto_convert_output
Transform data into the PCA eigenspace.
Uses previously computed principal components from fit or fit_transform.
Parameters
Returns
Examples