Info

此问题已关闭。 请重新打开它进行编辑或回答。

Is there an clustering algorithm with which I can declare expected centroid in advance?

1 次查看(过去 30 天)
Hi Friends,
I need to Cluster a dataset by declaring the centroids before starting a cluster itself. For eg:
Dataset includes {A,B,C,D,E,F}
A=(1,1)
B=(1.1,1.1)
C=(.9,.9)
D=(10,10)
E=(10.1,10.1)
F=(9.9,9.9)
I want to know the nearby values to B data Point. So Please let me know if there

回答(1 个)

Massimo Zanetti
Massimo Zanetti 2017-1-3
The k-means clustering is what you need. You can start the algorithm by selecting your own initial centroids by setting the parameter 'Start' to a matrix in which rows are your centroids.
Read carefully the documentation.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by