ristretto.sketch.transforms.johnson_lindenstrauss

ristretto.sketch.transforms.johnson_lindenstrauss(A, l, 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