def METHOD_NAME(data, x, y, sparse):
    srand()
    # Build a recurrence matrix, just for testing purposes
    rec = np.random.randn(x, y)
    if sparse:
        rec = scipy.sparse.csr_matrix(rec)
    librosa.decompose.nn_filter(data, rec=rec)