code: def test_isomap_clone_bug():
      # regression test for bug reported in #6062
      model = manifold.Isomap()
      for n_neighbors in [10, 15, 20]:
          model.set_params(n_neighbors=n_neighbors)
          model.fit(np.random.rand(50, 2))
          assert model.nbrs_.n_neighbors == n_neighbors
  
imports: import math
  from itertools import product
  import numpy
  import pytest
  from scipy.sparse import rand
  from sklearn import clone, datasets, manifold, neighbors, pipeline, preprocessing
  from sklearn.datasets import make_blobs
  from sklearn.metrics.pairwise import pairwise_distances
  from sklearn.utils._testing import assert_allclose, assert_allclose_dense_sparse, assert_array_equal
  from sklearn.utils.fixes import CSR_CONTAINERS
label_desc: Use image node_id 8 for calling a global function with example usage: test_isomap_clone_bug() without return types