score = knn_clf.score(X_test, y_test) if score > best_score: best_k = k best_score = score best_method = method print("best_method =", best_method) print("best_k =", best_k) print("best_score =", best_score) '''考虑距离的情况下搜索闵可夫斯基距离的p''' best_score = 0.0...