Skip to content

Commit 1aa0ec2

Browse files
committed
STYLE missing whitespace in isomap comment
1 parent 795b051 commit 1aa0ec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/manifold/isomap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ def transform(self, X):
196196
X = check_array(X)
197197
distances, indices = self.nbrs_.kneighbors(X, return_distance=True)
198198

199-
#Create the graph of shortest distances from X to self.training_data_
199+
# Create the graph of shortest distances from X to self.training_data_
200200
# via the nearest neighbors of X.
201-
#This can be done as a single array operation, but it potentially
201+
# This can be done as a single array operation, but it potentially
202202
# takes a lot of memory. To avoid that, use a loop:
203203
G_X = np.zeros((X.shape[0], self.training_data_.shape[0]))
204204
for i in range(X.shape[0]):

0 commit comments

Comments
 (0)