Example between Python code and C++ CCORE - for kmeans, hierarchical