每一类都会有质心 用新来的数据去计算和每一类质心的距离 和哪个近就属于哪一类
相关代码如下:
Scoring FASTCLUS Procedure Results
1. Perform cluster analysis and save the centroids.
proc fastclus outstat=centroids;
2. Load the saved centroids and score a new file.
proc fastclus instat=centroids out=scored;