aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-09-22 00:59:10 +0300
committerYigit Sever2019-09-22 00:59:10 +0300
commit3a924c24d167a4411b19d1038c59639f06f2ba6b (patch)
tree5d778e561f675bd353ec714bbe958475f4e188ad
parent998011d64694da562a33e02092df1a7b57e84b98 (diff)
downloadEvaluating-Dictionary-Alignment-3a924c24d167a4411b19d1038c59639f06f2ba6b.tar.gz
Evaluating-Dictionary-Alignment-3a924c24d167a4411b19d1038c59639f06f2ba6b.tar.bz2
Evaluating-Dictionary-Alignment-3a924c24d167a4411b19d1038c59639f06f2ba6b.zip
Fix typo
-rw-r--r--Wasserstein_Distance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Wasserstein_Distance.py b/Wasserstein_Distance.py
index 5965ed5..08439d2 100644
--- a/Wasserstein_Distance.py
+++ b/Wasserstein_Distance.py
@@ -138,7 +138,7 @@ class Wasserstein_Retriever(KNeighborsClassifier):
138 dist = self._pairwise_wmd(X) 138 dist = self._pairwise_wmd(X)
139 return super(Wasserstein_Retriever, self).kneighbors(dist, n_neighbors) 139 return super(Wasserstein_Retriever, self).kneighbors(dist, n_neighbors)
140 140
141 def align(self, X, n_neighbors=1) 141 def align(self, X, n_neighbors=1):
142 """ 142 """
143 Wrapper function over kneighbors to return 143 Wrapper function over kneighbors to return
144 precision at one and percentage values 144 precision at one and percentage values