Filter löschen
Filter löschen

Weighted k means clustering

16 Ansichten (letzte 30 Tage)
Peter
Peter am 23 Okt. 2013
Kommentiert: Royi Avital am 9 Aug. 2015
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 Kommentar
Royi Avital
Royi Avital am 9 Aug. 2015
I tried it myself as well. It seems something doesn't work there.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Royi Avital
Royi Avital am 8 Aug. 2015
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 Kommentar
Royi Avital
Royi Avital am 9 Aug. 2015
I tried it myself as well. It seems something doesn't work there.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by