Weighted k means clustering

조회 수: 24 (최근 30일)
Peter
Peter 2013년 10월 23일
댓글: Royi Avital 2015년 8월 9일
Hey all,
I am using Matlab for a geostatistical project.
I use coordinates of renewable energy facilities and try to optimize the electricity grid by clustering the facilities and finding the coordinates of some new electricity substations (cluster centroids).
I used to do that using k means algorithm.
Now I need to take into account the coordinates of the existing electricity substations and I need to use them with some weight, so the new substations will get closer to the old ones.
Does anybody know a way to use weight in k means? I found f kmeans algorithm, but I think it doesn't work really the way I need it to work.
Any ideas?
  댓글 수: 1
Royi Avital
Royi Avital 2015년 8월 9일
I tried it myself as well. It seems something doesn't work there.

댓글을 달려면 로그인하십시오.

답변 (1개)

Royi Avital
Royi Avital 2015년 8월 8일
Usually the weighting would be using Mahalanobis Distance Matrix.
If I'm correct about the file you linked, it uses a distance matrix which is Diagonal.
The Diagonal is determined by the weight vector.
  댓글 수: 1
Royi Avital
Royi Avital 2015년 8월 9일
I tried it myself as well. It seems something doesn't work there.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by