code: def test_core_point_prop3():
      params = {"eps": 1.1, "min_samples": 4}
  
      # The input looks like a two-barred (orhodox) cross or
      # two stars sharing a link:
      #   .   .
      # . . . . .
      #   .   .
      # There are 2 core-points but they are not reachable from each other
      # So there should be two clusters.
      # However, the link that is shared between the stars
      # actually has an ambiguous label (to the best of my knowledge)
      # as it will depend on the order in which we process the core-points.
      # So we exclude that point from the comparison with sklearn
  
      # TODO: the above text does not correspond to the actual test!
  
      X = np.array(
          [
              [0, 0],
              [1, 0],
              [1, 1],
              [1, -1],
              [3, 0],
              [4, 0],
              [4, 1],
              [4, -1],
              [5, 0],
              [2, 0],
          ],
          dtype=np.float32,
      )
      cuml_dbscan = cuDBSCAN(**params)
      cu_labels = cuml_dbscan.fit_predict(X)
  
      sk_dbscan = skDBSCAN(**params)
      sk_labels = sk_dbscan.fit_predict(X)
  
      # Check the core points are equal
      assert array_equal(
          cuml_dbscan.core_sample_indices_,
          sk_dbscan.core_sample_indices_,
      )
  
      # Check the labels are correct
      assert_dbscan_equal(
          sk_labels,
          cu_labels,
          X,
          cuml_dbscan.core_sample_indices_,
          params["eps"],
      )
  
imports: from sklearn.preprocessing import StandardScaler
  from sklearn.metrics import pairwise_distances
  from sklearn.datasets import make_blobs
  from sklearn.cluster import DBSCAN
  from cuml.testing.utils import get_pattern, unit_param, quality_param, stress_param, array_equal, assert_dbscan_equal
  from cuml import DBSCAN
  from cuml.testing.utils import get_handle
  import pytest
  from cuml.internals.safe_imports import cpu_only_import_from
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 9 for calling a global function with example usage: test_core_point_prop3() without return types