obtain cluster label on data

12 Ansichten (letzte 30 Tage)
Jay Hanuman
Jay Hanuman am 5 Dez. 2016
Beantwortet: Massimo Zanetti am 5 Dez. 2016
I am reading ieee paper and in that k mean clustering is applied on ip address which is n*4 in size. I applied k mean clustering on data in matlab with 3 clusters and obtain cluster centers. In paper they mentioned that for each unique ip address p , they obtain cluster label k(p). so how to obtain cluster label for ip address.
I attached ip address data file and paper. in paper it is mentioned in 2nd page which I highlighted in yellow color.

Akzeptierte Antwort

Massimo Zanetti
Massimo Zanetti am 5 Dez. 2016
If you applied kmeans function like this:
idx = kmeans(X,k)
then idx is the vector containing the labels.

Weitere Antworten (0)

Kategorien

Mehr zu Cluster Analysis and Anomaly Detection 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