code: def clustering_random_points(amount, ccore):
      sample = [
          [random.random(), random.random()] for _ in range(amount)
      ]
  
      dbscan_instance = dbscan(sample, 0.05, 20, ccore)
      (ticks, _) = timedcall(dbscan_instance.process)
  
      print("Execution time (" + str(amount) + " 2D-points):", ticks)
  
imports: import random
  from pyclustering.cluster import cluster_visualizer
  from pyclustering.cluster.dbscan import dbscan
  from pyclustering.utils import read_sample
  from pyclustering.utils import timedcall
  from pyclustering.samples.definitions import SIMPLE_SAMPLES, FCPS_SAMPLES
label_desc: Use image node_id 23 for calling a global function with example usage: clustering_random_points(amount, ccore) without return types