Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

2 ビュー (過去 30 日間)
Abhishek H P
Abhishek H P 2017 年 1 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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