当我在 scikit learn 中预测属于 SVM 中图像的类别时
...
print "Predicting on 1 sample"
print "Input features:"
fv = [0.16666666666628771, 5.169878828456423e-26, 2.584939414228212e-22, 1.0, 1.0000000000027285]
print fv
print "Predicted class index:"
print clf.predict([fv])
输出:
Predicted class index:
[5]
我怎样才能在同类中获得最多 5 个相似的图像?