PCA#
- class sdm.processing.numerical.PCA(num_components: int, solver: Literal['auto', 'full', 'eigh', 'qr', 'lu'] = 'auto', num_iterations: int = 7, num_oversamples: int = 10)#
Bases:
ProcessorProject numerical columns onto their principal components.
- Parameters:
num_components (int) – Number of principal components to keep.
solver (Literal['auto', 'full', 'eigh', 'qr', 'lu']) – PCA solver to use:
"full"computes full SVD,"eigh"decomposes the feature covariance matrix, and"qr"or"lu"use randomized SVD with QR or LU normalization."auto"selects a solver based on the input shape and number of components.num_iterations (int) – Number of power iterations for randomized SVD.
num_oversamples (int) – Number of additional random vectors used to approximate the principal subspace.
Capabilities#
Handled Semantic Types |
|
Requires Fitting |
✅ |