set centroids for kmeans

simon_knollsimon_knoll Member Posts: 40 Maven
edited November 2018 in Help
i was asking me, if there is a way for rapidminer, to set manually the starting centroids for kmeans klustering. in terms of pushing clustering in a certain direction.

all the best,


  • TobiasMalbrechtTobiasMalbrecht Moderator, Employee, Member Posts: 294 RM Product Management
    Hi Simon,

    no, as far as I know this is not possible at the moment and has to be manually implemented if you would like to have such a functionality.

  • simon_knollsimon_knoll Member Posts: 40 Maven
    Ah ok,
    do you think setting initial centroids manually would make sense?

    all the best,
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    actually not. I don't think there are too many possible solutions for a good clustering. But you can lower the number of iterations to 1, so that it just would use one single try. If you then execute the operator repeatedly, you will receive the different local optimal solutions. You can select one by hand that suits you best. If you just want to optimize the intra cluster distance you just can rely on the automatism and increase the number of iterations.

Sign In or Register to comment.