Options

set centroids for kmeans

simon_knollsimon_knoll Member Posts: 40 Contributor II
edited November 2018 in Help
hello,
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,
simon

Answers

  • Options
    TobiasMalbrechtTobiasMalbrecht Moderator, Employee, Member Posts: 295 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.

    Regards,
    Tobias
  • Options
    simon_knollsimon_knoll Member Posts: 40 Contributor II
    Ah ok,
    do you think setting initial centroids manually would make sense?

    all the best,
    simon
  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    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.

    Greetings,
      Sebastian
Sign In or Register to comment.