code: def template_kmeans_plusplus_initializer(path, amount, draw=True):
      sample = read_sample(path)
      centers = kmeans_plusplus_initializer(
          sample, amount, 1
      ).initialize()
  
      if draw is True:
          visualizer = cluster_visualizer()
          visualizer.append_cluster(sample)
          visualizer.append_cluster(centers, marker="*", markersize=10)
          visualizer.show()
  
      return sample, centers
  
file_path: pyclustering/pyclustering/cluster/examples/center_initializer_examples.py
imports: from pyclustering.utils import read_sample
  from pyclustering.samples.definitions import SIMPLE_SAMPLES
  from pyclustering.samples.definitions import FCPS_SAMPLES
  from pyclustering.cluster import cluster_visualizer
  from pyclustering.cluster.center_initializer import kmeans_plusplus_initializer
label_desc: Use image node_id 1 for calling a global function with example usage: template_kmeans_plusplus_initializer(path, amount, draw) and returns: sample,  centers