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 795b051 commit 1aa0ec2Copy full SHA for 1aa0ec2
sklearn/manifold/isomap.py
@@ -196,9 +196,9 @@ def transform(self, X):
196
X = check_array(X)
197
distances, indices = self.nbrs_.kneighbors(X, return_distance=True)
198
199
- #Create the graph of shortest distances from X to self.training_data_
+ # Create the graph of shortest distances from X to self.training_data_
200
# via the nearest neighbors of X.
201
- #This can be done as a single array operation, but it potentially
+ # This can be done as a single array operation, but it potentially
202
# takes a lot of memory. To avoid that, use a loop:
203
G_X = np.zeros((X.shape[0], self.training_data_.shape[0]))
204
for i in range(X.shape[0]):
0 commit comments