Adapted from the "PCA2" matlab code given in appendix B of this paper: https://www.
Adapted from the "PCA2" matlab code given in appendix B of this paper: https://www.cs.princeton.edu/picasso/mats/PCA-Tutorial-Intuition_jp.pdf
A sample of features to be reduced. Often O(1e6). Logically row-major.
A PCA Matrix which will perform dimensionality reduction when applied to a data matrix.
Constructs a pipeline from a single estimator and training data.
Constructs a pipeline from a single estimator and training data.
Equivalent to Pipeline() andThen (estimator, data)
The training data
Estimates a PCA model for dimensionality reduction based on a sample of a larger input dataset.