text_plain_output_1.png
from sklearn.metrics import classification_report

from sklearn.neighbors import KNeighborsClassifier

model = KNeighborsClassifier(n_neighbors=5)

model.fit(x_train, y_train)

model.score(x_train, y_train) * 100

model.score(x_test, y_test) * 100

y_pred = model.predict(x_test)

report = classification_report(y_test, y_pred)

print(report)