8f8750ca1481da9fb2f133aa336f4a9c6f03f003,Orange/widgets/unsupervised/owdistances.py,OWDistances,compute_distances,#OWDistances#Any#Any#,107

Before Change


                self.Error.mahalanobis_error(e)
                return

        return metric(data, data, 1 - self.axis, impute=True)

    def _invalidate(self):
        self._checksparse()
        self.commit()

After Change


                return

        try:
            met = metric(data, data, 1 - self.axis, impute=True)
        except ValueError as e:
            self.Error.distances_value_error(e)
            return
        except MemoryError:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 8f8750ca1481da9fb2f133aa336f4a9c6f03f003
Time: 2017-05-29
Author: jerneju@gmail.com
File Name: Orange/widgets/unsupervised/owdistances.py
Class Name: OWDistances
Method Name: compute_distances


Project Name: ncullen93/torchsample
Commit Name: eb5e1166e5919dc2842f39886151fd229fb6c321
Time: 2017-04-27
Author: ncullen@modv-vlan533.0919.apn.wlan.wireless-pennnet.upenn.edu
File Name: torchsample/metrics.py
Class Name: MetricsModule
Method Name: __call__


Project Name: pyannote/pyannote-audio
Commit Name: 92947a2963ba92257eed4cf259b3a8165c0d7833
Time: 2018-06-29
Author: bredin@limsi.fr
File Name: pyannote/audio/pipeline/base.py
Class Name: Pipeline
Method Name: objective