kmeans with centroids from previous analysis
Hello everyone,
I wanted to confirm whether my approach is right. I have centroids from a previous kmeans analysis, and now I’d like to extract the membership indexes for these clusters from new data. Am I correct by using:
SubjectMembershipIndex = kmeans(Data, [], ‘Distance’,’cityblock’, ‘Start’, PreviousCentroids);
Thanks!
Best
HansHello everyone,
I wanted to confirm whether my approach is right. I have centroids from a previous kmeans analysis, and now I’d like to extract the membership indexes for these clusters from new data. Am I correct by using:
SubjectMembershipIndex = kmeans(Data, [], ‘Distance’,’cityblock’, ‘Start’, PreviousCentroids);
Thanks!
Best
Hans Hello everyone,
I wanted to confirm whether my approach is right. I have centroids from a previous kmeans analysis, and now I’d like to extract the membership indexes for these clusters from new data. Am I correct by using:
SubjectMembershipIndex = kmeans(Data, [], ‘Distance’,’cityblock’, ‘Start’, PreviousCentroids);
Thanks!
Best
Hans kmeans previous centroids MATLAB Answers — New Questions