mirror of
https://github.com/apachecn/ailearning.git
synced 2026-02-13 07:15:26 +08:00
增加 biKMeans 中的打印信息
This commit is contained in:
@@ -129,6 +129,8 @@ def testBiKMeans():
|
||||
|
||||
centList, myNewAssments = biKMeans(datMat, 3)
|
||||
|
||||
print 'centList=', centList
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
# 测试基础的函数
|
||||
|
||||
Reference in New Issue
Block a user