We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1667364 commit 36b852cCopy full SHA for 36b852c
metric_learn/sdml.py
@@ -34,7 +34,7 @@ def _prepare_inputs(self, X, W):
34
else:
35
self.M = np.identity(X.shape[1])
36
L = laplacian(W, normed=False)
37
- self.loss_matrix = self.X.T.dot(L).dot(self.X)
+ self.loss_matrix = self.X.T.dot(L.dot(self.X))
38
39
def metric(self):
40
return self.M
0 commit comments