ristretto.sketch.transforms.sparse_johnson_lindenstrauss

ristretto.sketch.transforms.sparse_johnson_lindenstrauss(A, l, density=None, axis=1, random_state=None)[source]

Given an m x n matrix A, and an integer l, this scheme computes an m x l orthonormal matrix Q whose range approximates the range of A

density : sparse matrix density