December 2018
Beginner to intermediate
684 pages
21h 9m
English
The sklearn.decomposition.PCA implementation follows the standard API based on the fit() and transform() methods, which compute the desired number of principal components and project the data into the component space, respectively. The convenience method fit_transform() accomplishes this in a single step.
PCA offers three different algorithms that can be specified using the svd_solver parameter: