1db4e1478cfb620db36f692533d108bee4aea0ca,Orange/widgets/unsupervised/owdistances.py,,,#,8

Before Change


from Orange.widgets import widget, gui, settings


_METRICS = [
    ("Euclidean", pairwise.euclidean_distances),
    ("Manhattan", pairwise.manhattan_distances)
]


class OWDistances(widget.OWWidget):
    name = "Distances"

After Change


from Orange import distance


_METRICS = [
    ("Euclidean", distance.Euclidean()),
    ("Manhattan", distance.Manhattan()),
    ("Cosine", distance.Cosine()),
    ("Jaccard", distance.Jaccard()),
    ("Mahalanobis", distance.Mahalanobis()),
    ("Spearman", distance.SpearmanR()),
    ("Spearman absolute", distance.SpearmanRAbsolute()),
    ("Pearson", distance.PearsonR()),
    ("Pearson absolute", distance.PearsonRAbsolute()),
]


class OWDistances(widget.OWWidget):
    name = "Distances"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 1db4e1478cfb620db36f692533d108bee4aea0ca
Time: 2014-12-05
Author: marinka@zitnik.si
File Name: Orange/widgets/unsupervised/owdistances.py
Class Name:
Method Name:


Project Name: geomstats/geomstats
Commit Name: 5ce597e513447780416a7a34f0c36f0e31ce90e1
Time: 2020-04-06
Author: ninamio78@gmail.com
File Name: tests/test_product_manifold.py
Class Name: TestProductManifoldMethods
Method Name: test_inner_product_matrix_vector


Project Name: geomstats/geomstats
Commit Name: 5ce597e513447780416a7a34f0c36f0e31ce90e1
Time: 2020-04-06
Author: ninamio78@gmail.com
File Name: tests/test_product_manifold.py
Class Name: TestProductManifoldMethods
Method Name: test_inner_product_matrix_matrix