How can I access the attribute of the number of iterations performed until convergence for the kmedoids as implemented in the pyclustering library in PyPI?
In the Scikit Learn implementation of KMeans, it provides access to 4 attributes:
cluster_centers_
labels_
inertia_
n_iter_
Where n_iter_ is the number of iterations required to converge on the solution as required by the parameters supplied to the algorithm.
In the very useful set of algorithms in the Pyclustering Library, the series of clustering algorithms similar to KMeans are useful. I am interested in one in particular kmedoids, but an answer for the other KMeans-similar algorithms I think would be generally useful.
For kmediods, there is no access to an attribute like n_iter_. Thus the question.