83579d7761d6bc995e1e6e90cd376191e648081e,ristretto/nmf/rnmf_fhals.py,,rnmf_fhals,#Any#Any#Any#Any#Any#Any#Any#Any#,23

Before Change


        
        // Compute stopping condition.
        if niter % 10 == 0 and verbose == True:
            fit = np.log10(sci.linalg.norm(A - Wtemp.dot( Ht.T )))

            if niter == 0: fitold = fit               
            
            fitchange = abs(fitold - fit)
            fitold = fit
            
            if verbose == True:
                print("Iteration: %s fit: %s, fitchange: %s" %(niter, fit, fitchange))        

After Change



        W = Q.dot(W) // Rotate W back to high-dimensional space
        violation += _rfhals_update(W, HHt, AHt)
        print(violation)
        
        // Project W to low-dimensional space
        Wtemp = Q.T.dot(W)  
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: erichson/ristretto
Commit Name: 83579d7761d6bc995e1e6e90cd376191e648081e
Time: 2018-03-07
Author: Benli11@users.noreply.github.com
File Name: ristretto/nmf/rnmf_fhals.py
Class Name:
Method Name: rnmf_fhals


Project Name: stellargraph/stellargraph
Commit Name: bcf6d0a188ee9ba868c1de01c347f813e3aaa35c
Time: 2020-01-22
Author: andrew.docherty@data61.csiro.au
File Name: tests/layer/test_link_inference.py
Class Name: Test_Link_Inference
Method Name: test_mul_l1_l2_avg


Project Name: RasaHQ/rasa
Commit Name: 5820a0e331ea6e43417ca061250c1986eec5b05e
Time: 2018-09-05
Author: akela@rasa.ai
File Name: rasa_core/policies/ensemble.py
Class Name: SimplePolicyEnsemble
Method Name: probabilities_using_best_policy