set centroids for kmeans

simon_knoll
simon_knoll New Altair Community Member
edited November 5 in Community Q&A
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
Tagged:

Answers

  • TobiasMalbrecht
    TobiasMalbrecht New Altair Community Member
    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
  • simon_knoll
    simon_knoll New Altair Community Member
    Ah ok,
    do you think setting initial centroids manually would make sense?

    all the best,
    simon
  • land
    land New Altair Community Member
    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