code: def test_nonparametric(moon_dataset):
      """test nonparametric embedding"""
      embedder = ParametricUMAP(parametric_embedding=False)
      embedding = embedder.fit_transform(moon_dataset)
      # completes successfully
      assert embedding is not None
      assert embedding.shape == (moon_dataset.shape[0], 2)
  
file_path: umap/umap/tests/test_parametric_umap.py
imports: import numpy
  import tempfile
  import pytest
  from sklearn.datasets import make_moons
  from sklearn.model_selection import train_test_split
  from numpy.testing import assert_array_almost_equal
  import platform
label_desc: Use image node_id 5 for calling a global function with example usage: test_nonparametric(moon_dataset) without return types