K-Means calculate cluster centroids

Hi!

I have done my clustering calculations with the KNIME k-Means Node. It works perfect.
Now i want to calculate the cluster centroids like in python:
X = ...
model = KMeans(init='k-means++', n_clusters=16, n_init=10).fit(X)
print(model.cluster_centers_)

http://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html

How is this possible to access this cluster_centers_ table in your KNIME k-Means Node?

Hi @Mink,
take a look at the second output port of the k-Means node, it outputs the table you are looking for…
best,
Gabriel

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.