Dimensionality Reduction
Implements multiple reduction techniques including PCA, SVD, Factor Analysis, Gaussian Random Projection, and UMAP.
Tutorials
are the best documentation — Dimensionality Reduction Tutorial
Reduction Techniques
The module supports the following dimensionality reduction methods:
PCA (Principal Component Analysis)
Factor Analysis
Gaussian Random Projection
UMAP (Uniform Manifold Approximation and Projection)
Usage Examples.
Authenticate and load data
1. Basic Usage with PCA
2. Using Gaussian Random Projection
3. UMAP with Verbose Output
4. Factor Analysis
Advanced Usage
The underlying dimensionality_reduction
function offers more control over the reduction process:
This advanced usage allows for specifying the amount of variance to be explained if n_components
is not provided.
Performance Considerations
The dimensionality reduction process can be computationally intensive, especially for large datasets or when using methods like UMAP.
PCA and Truncated SVD are generally faster than UMAP for large datasets.
Consider using a smaller number of components or a subset of your data if performance is a concern.
Last updated