code: def correctness_dense(a, b, rtol=0.1, threshold=0.95):
      n_elms = a.size
      n_correct = (cp.abs(a - b) <= (rtol * cp.abs(b))).sum()
      correctness = n_correct / n_elms
      return correctness >= threshold
  
file_path: cuml/python/cuml/tests/test_simpl_set.py
imports: import platform
  from cuml.manifold.umap import simplicial_set_embedding
  from cuml.manifold.umap import fuzzy_simplicial_set
  from cuml.neighbors import NearestNeighbors
  from cuml.manifold.umap import UMAP
  from cuml.internals.safe_imports import gpu_only_import
  import pytest
  from cuml.datasets import make_blobs
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 1 for calling a global function with example usage: correctness_dense(a, b, rtol, threshold) and returns: unknown