obtain cluster label on data
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
Massimo Zanetti
2016년 12월 5일
If you applied kmeans function like this:
idx = kmeans(X,k)
then idx is the vector containing the labels.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Cluster Analysis and Anomaly Detection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!