zhaozhiyong19890102/Python-Machine-Learning-Algorithm

第十章kmeans的代码

qq191513 opened this issue · 0 comments

            if subCenter[i, 0] <> minIndex:  # 需要改变
                change = True
                subCenter[i, ] = np.mat([minIndex, minDist])

改成

            if subCenter[i, 0] <> minIndex:  # 需要改变
                change = True
            subCenter[i, ] = np.mat([minIndex, minDist])