how to watch the update of the centroids of K-mean model

MahmoudEmaraMahmoudEmara Member Posts: 1 Newbie
edited May 2020 in Help
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)? 


  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,517 RM Data Scientist
    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.

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    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,



    PS : To use the Merge operator, you have to install the Operator Toolbox extension from the marketplace.
Sign In or Register to comment.