Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
how to watch the update of the centroids of K-mean model
MahmoudEmara
hello everyone, I'm new to Rapidminee I was wondering how to watch or get the value of the centroids of K-mean model in each run or iteration to determine which centroid (i.e., cluster) reached a fixpoint first, and in which run? at what point (i.e, run) none of the centroids get updated anymore (i.e., all reached a fixpoint)?
Find more posts tagged with
AI Studio
Clustering
Accepted answers
All comments
MartinLiebig
Hi
@MahmoudEmara
,
i am sorry, but i think this is not supported out of the box. you would need to run the algorithm with different iterations and export the centroids for each run.
Cheers,
Martin
lionelderkrikor
Hi
@MahmoudEmara
,
I propose a partial solution to your problem :
Put a
KMeans
+
Extract Cluster Prototypes
operators inside a
Loop Parameters
operator (loop over the
max runs
parameter) and then put a
Merge
operator at the end of the process to have the centroids according the run iteration in a unique results table .
In attached file, the process I propose.
Hope this helps,
Regards,
Lionel
PS : To use the
Merge
operator, you have to install the
Operator Toolbox
extension from the marketplace.
centroids_run_iteration.rmp
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups