180646fa18c1a0d3965995118781fef58d8d6459,sklearn/decomposition/_fastica.py,,_gs_decorrelation,#,28

Before Change


    Assumes that W is orthogonal
    w changed in place
    
    w -= np.dot(np.dot(w, W[:j].T), W[:j])
    return w


def _sym_decorrelation(W):

After Change


    Assumes that W is orthogonal
    w changed in place
    
    w -= np.linalg.multi_dot([w, W[:j].T, W[:j]])
    return w


def _sym_decorrelation(W):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 7

Instances


Project Name: scikit-learn/scikit-learn
Commit Name: 180646fa18c1a0d3965995118781fef58d8d6459
Time: 2020-07-04
Author: hi@srimukh.com
File Name: sklearn/decomposition/_fastica.py
Class Name:
Method Name: _gs_decorrelation


Project Name: scikit-learn/scikit-learn
Commit Name: 180646fa18c1a0d3965995118781fef58d8d6459
Time: 2020-07-04
Author: hi@srimukh.com
File Name: sklearn/linear_model/_bayes.py
Class Name: BayesianRidge
Method Name: _update_coef_


Project Name: scikit-learn/scikit-learn
Commit Name: 180646fa18c1a0d3965995118781fef58d8d6459
Time: 2020-07-04
Author: hi@srimukh.com
File Name: sklearn/decomposition/_nmf.py
Class Name:
Method Name: _beta_divergence


Project Name: scikit-learn/scikit-learn
Commit Name: 180646fa18c1a0d3965995118781fef58d8d6459
Time: 2020-07-04
Author: hi@srimukh.com
File Name: sklearn/decomposition/_nmf.py
Class Name:
Method Name: _multiplicative_update_h


Project Name: scikit-learn/scikit-learn
Commit Name: 180646fa18c1a0d3965995118781fef58d8d6459
Time: 2020-07-04
Author: hi@srimukh.com
File Name: sklearn/decomposition/_fastica.py
Class Name:
Method Name: _sym_decorrelation