code: def test_umap_too_many_neighbors_warns(nn_data):
      u = UMAP(
          a=1.2, b=1.75, n_neighbors=2000, n_epochs=11, init="random"
      )
      u.fit(nn_data[:100,])
      assert u._a == 1.2
      assert u._b == 1.75
  
imports: import warnings
  import numpy
  from sklearn.metrics import pairwise_distances
  import pytest
  import numba
  from umap import UMAP
  import umap.validation
label_desc: Use image node_id 21 for calling a global function with example usage: test_umap_too_many_neighbors_warns(nn_data) without return types