cf6b2d3e4c7bbf4aa68b1fc1ba3cfaf1663d48be,Orange/statistics/contingency.py,Continuous,__eq__,#Continuous#Any#,193

Before Change



    def __eq__(self, other):
        return (len(self) == len(other) and
                all(np.array_equal(rs, ro) for rs, ro in zip(self, other)) and
                (not hasattr(other, "unknowns") or
                 np.array_equal(self.unknowns, other.unknowns)))

After Change




    def __eq__(self, other):
        return (np.array_equal(self.values, other.values) and
                np.array_equal(self.counts, other.counts) and
                (not hasattr(other, "unknowns") or
                 np.array_equal(self.unknowns, other.unknowns)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: cf6b2d3e4c7bbf4aa68b1fc1ba3cfaf1663d48be
Time: 2014-09-12
Author: marko.toplak@gmail.com
File Name: Orange/statistics/contingency.py
Class Name: Continuous
Method Name: __eq__


Project Name: sentinel-hub/eo-learn
Commit Name: dedef45bef6085fad0f42b17e432a9e673107f25
Time: 2018-08-02
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/core/utilities.py
Class Name:
Method Name: deep_eq


Project Name: sentinel-hub/eo-learn
Commit Name: 7b8bc30bf90b47ade91e0931b0a5a15bee0157d9
Time: 2018-07-31
Author: matej.aleksandrov@sinergise.com
File Name: core/eolearn/core/utilities.py
Class Name:
Method Name: deep_eq


Project Name: markovmodel/PyEMMA
Commit Name: 7ee1c933340f317851082a284879cea5cc3dc014
Time: 2018-03-26
Author: thempel@zedat.fu-berlin.de
File Name: pyemma/msm/estimators/bayesian_hmsm.py
Class Name: BayesianHMSM
Method Name: _estimate