code: def cure_algorithm(
      sample, number_clusters, number_represent_points, compression
  ):
      pointer_data = package_builder(sample, c_double).create()
  
      ccore = ccore_library.get()
      ccore.cure_algorithm.restype = POINTER(c_void_p)
      cure_data_pointer = ccore.cure_algorithm(
          pointer_data,
          c_size_t(number_clusters),
          c_size_t(number_represent_points),
          c_double(compression),
      )
  
      return cure_data_pointer
  
imports: from ctypes import c_double, c_size_t, POINTER, c_void_p
  from pyclustering.core.wrapper import ccore_library
  from pyclustering.core.pyclustering_package import pyclustering_package, package_extractor, package_builder
label_desc: Use image node_id 1 for calling a global function with example usage: cure_algorithm(sample, number_clusters, number_represent_points, compression) and returns: cure_data_pointer