在使用 kmeans算法时 报错,报错信息如下:
调用方法如下
best_book, best_dist = kmeans(descriptors, numWords, 1)
请问是我调用方法有错么 编译环境python2.7
收起
数组的输入维度不正确,要先转换为一维数组再调用。
报告相同问题?