fe4edc5ca244c19be02bfb41453bf5271fc08775,geomstats/learning/em_expectation_maximization.py,RiemannianEM,_expectation,#RiemannianEM#Any#,151

Before Change



            print("EXPECTATION : posterior probabilities"
                  "contain elements that are not numbers")
            quit()

        if 1 - SUM_CHECK_PDF >= gs.mean(gs.sum(
                posterior_probabilities, 1)) >= 1 + SUM_CHECK_PDF:

After Change


        if (gs.mean(posterior_probabilities) !=
                gs.mean(posterior_probabilities)):

            raise NameError("EXPECTATION : posterior probabilities " +
                            "contain elements that are not numbers")

        if 1 - SUM_CHECK_PDF >= gs.mean(gs.sum(
                posterior_probabilities, 1)) >= 1 + SUM_CHECK_PDF:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: geomstats/geomstats
Commit Name: fe4edc5ca244c19be02bfb41453bf5271fc08775
Time: 2020-04-13
Author: gerald@pop-os.localdomain
File Name: geomstats/learning/em_expectation_maximization.py
Class Name: RiemannianEM
Method Name: _expectation


Project Name: geomstats/geomstats
Commit Name: fe4edc5ca244c19be02bfb41453bf5271fc08775
Time: 2020-04-13
Author: gerald@pop-os.localdomain
File Name: geomstats/learning/em_expectation_maximization.py
Class Name: RiemannianEM
Method Name: _maximization


Project Name: danforthcenter/plantcv
Commit Name: 934eeeab702bdaec334c8e88f1644e93e1ca6dca
Time: 2019-10-25
Author: dominik.schneider@wsu.edu
File Name: plantcv/parallel/parsers.py
Class Name:
Method Name: check_date_range