Machine Learning, Data Science, Data Scientist, Mlops, Algorithms.
knn_model.predict(X_test) # Evaluating the model accuracy_knn = accuracy_score(y_test, y_pred_knn) precision_knn = precision_score(y_test, y_pred_knn, average='macro') recall_knn = recall_score(y_test, y_pred_knn, average='macro') f1_knn = f1_score(y_test, y_pred_knn, average='macro') # Print the