8bb6b5a40a539ab9f1e25131c6f3add01beb6dbe,dc_integration/distribution/cacgmm.py,CACGMMTrainer,fit,#CACGMMTrainer#Any#Any#Any#Any#Any#Any#Any#Any#,45

Before Change


            ]

        if saliency is None:
            saliency = np.ones_like(initialization[..., 0, :])

        quadratic_form = np.ones_like(initialization)
        affiliation = initialization
        for iteration in range(iterations):

After Change


            affiliation /= np.einsum("...kn->...n", affiliation)[..., None, :]
            quadratic_form = np.ones(affiliation_shape, dtype=x.real.dtype)
        elif isinstance(initialization, np.ndarray):
            assert initialization.shape == affiliation_shape, (
                initialization.shape, affiliation_shape
            )
            affiliation = initialization
            quadratic_form = np.ones(affiliation_shape, dtype=x.real.dtype)
        elif isinstance(initialization, CACGMM):
            model = initialization
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: fgnt/pb_bss
Commit Name: 8bb6b5a40a539ab9f1e25131c6f3add01beb6dbe
Time: 2018-08-07
Author: mail@lukas-drude.de
File Name: dc_integration/distribution/cacgmm.py
Class Name: CACGMMTrainer
Method Name: fit


Project Name: lyst/lightfm
Commit Name: 023245ed62f259049789186206e31ab484fcebef
Time: 2016-05-02
Author: maciej.kula@gmail.com
File Name: tests/test_evaluation.py
Class Name:
Method Name: test_auc_score


Project Name: lyst/lightfm
Commit Name: 023245ed62f259049789186206e31ab484fcebef
Time: 2016-05-02
Author: maciej.kula@gmail.com
File Name: tests/test_evaluation.py
Class Name:
Method Name: test_precision_at_k