A standardized Python API with necessary preprocessing, machine learning and explainability tools to facilitate graph-analytics in computational pathology.
In line 310: if n_centroids < k: should be if n_centroids-k <2.
Reason: If not, it will incur bug in line 313, where kth should be smaller than n_centroids.