c685abd8409da723cc345b31312bd45c7b3a7513,ristretto/sketch/transforms.py,,sparse_johnson_lindenstrauss,#,63

Before Change



    // project A onto Omega
    if axis == 0:
        Q = safe_sparse_dot(Omega.T, A)
    else:
        Q = safe_sparse_dot(A, Omega)

    if n_subspace is not None:

After Change



    // project A onto Omega
    if axis == 0:
        return safe_sparse_dot(Omega.T, A)
    return safe_sparse_dot(A, Omega)


def fast_johnson_lindenstrauss(A, l, axis=1, random_state=None):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: erichson/ristretto
Commit Name: c685abd8409da723cc345b31312bd45c7b3a7513
Time: 2018-05-24
Author: jknox13@uw.edu
File Name: ristretto/sketch/transforms.py
Class Name:
Method Name: sparse_johnson_lindenstrauss


Project Name: erichson/ristretto
Commit Name: 0b4815ab2243fe76791b01451b87492c7944025a
Time: 2018-05-22
Author: jknox13@uw.edu
File Name: ristretto/sketch/transforms.py
Class Name:
Method Name: sparse_johnson_lindenstrauss