(w, W, j)
return w
Gram-Schmidt-like decorrelation.
Gram-Schmidt-like decorrelation.
Gram - Schmidt - like decorrelation .
def _gs_decorrelation(w, W, j):
    """ Gram-Schmidt-like decorrelation. """
    t = np.zeros_like(w)
    for u in range(j):
        t = t + np.dot(w, W[u]) * W[u]
        w -= t
    return w
def _gs_decorrelation ( w , W , j ) : t = np . zeros_like ( w ) for u in range ( j ) : t = t + np . dot ( w , W [ u ] ) * W [ u ] w -= t return w