code: def test_inverse_transform(moon_dataset):
      """tests inverse_transform"""
  
      def norm(x):
          return (x - np.min(x)) / (np.max(x) - np.min(x))
  
      X = norm(moon_dataset)
      embedder = ParametricUMAP(parametric_reconstruction=True)
      Z = embedder.fit_transform(X)
      X_r = embedder.inverse_transform(Z)
      # completes successfully
      assert X_r is not None
      assert X_r.shape == X.shape
  
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 4 for calling a global function with example usage: test_inverse_transform(moon_dataset) and returns: unknown