Skip to content

Commit 5ebab39

Browse files
committed
增加 biKMeans 中的打印信息
1 parent 6967708 commit 5ebab39

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/python/10.kmeans/kMeans.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ def testBiKMeans():
129129

130130
centList, myNewAssments = biKMeans(datMat, 3)
131131

132+
print 'centList=', centList
133+
132134
if __name__ == "__main__":
133135

134136
# 测试基础的函数

0 commit comments

Comments
 (0)