Expand description
Fast random projection methods for dimensionality reduction
This module provides algorithms for random projections, which are efficient techniques for reducing dimensionality of data while approximately preserving distances between points. These methods are particularly useful for large-scale machine learning applications where computational efficiency is crucial.
§Available Methods
- Gaussian Random Projection: Projects data using a random matrix with entries drawn from a Gaussian distribution
- Sparse Random Projection: Uses a sparse random matrix for projection, which is computationally more efficient
- Very Sparse Random Projection: An extremely sparse random projection that only uses values {-1, 0, 1}
- Johnson-Lindenstrauss Transform: Implements the Johnson-Lindenstrauss lemma for dimension reduction with theoretical guarantees
Functions§
- gaussian_
randommatrix - Generate a random projection matrix using Gaussian distribution
- johnson_
lindenstrauss_ min_ dim - Compute the minimum number of components needed for Johnson-Lindenstrauss transform
- johnson_
lindenstrauss_ transform - Project data using Johnson-Lindenstrauss transform
- project
- Project data using a random projection matrix
- sparse_
randommatrix - Generate a sparse random projection matrix
- very_
sparse_ randommatrix - Generate a very sparse random projection matrix