code: def test_reduce_params_UMAP():
      from umap import UMAP
  
      data1 = np.random.rand(20, 10)
      params = {
          "n_neighbors": 5,
          "n_components": 2,
          "metric": "correlation",
          "random_state": 1234,
      }
      # testing override of n_dims by n_components. Should raise UserWarning due to conflict
      hyp_data = reducer(
          data1, reduce={"model": "UMAP", "params": params}, ndims=3
      )
      umap_data = UMAP(**params).fit_transform(data1)
      np.testing.assert_array_equal(hyp_data, umap_data)
  
imports: import numpy
  from hypertools.tools.reduce import reduce
  from hypertools.plot.plot import plot
label_desc: Use image node_id 23 for calling a global function with example usage: test_reduce_params_UMAP() without return types