code: def test_dbscan_params(self):
      dbscan_params = [
          ModelDict(
              "Testing UMAP",
              kind="nodes",
              min_dist=0.2,
              min_samples=1,
              cols=None,
              target=False,
              fit_umap_embedding=False,
              verbose=True,
              engine_dbscan="sklearn",
          ),
          ModelDict(
              "Testing UMAP target",
              kind="nodes",
              min_dist=0.1,
              min_samples=1,
              cols=None,
              fit_umap_embedding=True,
              target=True,
              verbose=True,
              engine_dbscan="sklearn",
          ),
      ]
      for params in dbscan_params:
          g = (
              graphistry.nodes(ndf)
              .edges(edf, "src", "dst")
              .umap(y="label", n_topics=2)
          )
          g2 = g.dbscan(**params)
          self.assertTrue(
              g2._dbscan_params == params,
              f"dbscan params not set correctly, found {g2._dbscan_params} but expected {params}",
          )
  
file_path: pygraphistry/graphistry/tests/test_compute_cluster.py
imports: import pandas
  import unittest
  import pytest
  import graphistry
  from graphistry.constants import DBSCAN
  from graphistry.util import ModelDict
  from graphistry.compute.cluster import lazy_dbscan_import_has_dependency
label_desc: Use image node_id 4 for calling the TestComputeCluster obj's underlying member method code with example usage: obj.test_dbscan_params() without return types