8000 Fix minor issues · scikit-learn/scikit-learn@ab44f93 · GitHub
[go: up one dir, main page]

Skip to content

Commit ab44f93

Browse files
author
Pan Jan
committed
Fix minor issues
1 parent e11bdda commit ab44f93

File tree

3 files changed

+4
-440
lines changed

3 files changed

+4
-440
lines changed

sklearn/manifold/_mds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,8 @@ def fit_transform(self, X, y=None, init=None):
513513
elif self.method == "svd":
514514
if not self.metric:
515515
raise ValueError("Using SVD requires metric=True")
516-
self.embedding_, self.stress_ = svd_scaler(self.dissimilarity_matrix_,
517-
n_components=self.n_components)
516+
self.embedding_, self.stress_ = svd_scaler(
517+
self.dissimilarity_matrix_, n_components=self.n_components)
518518
else:
519519
raise ValueError("Method must be 'smacof' or 'svd'."
520520
" Got %s instead" % str(self.method))

0 commit comments

Comments
 (0)
0