Machine Learning, Data Science, Data Scientist, Mlops, Algorithms.
y_pred_svm) precision_svm = precision_score(y_test, y_pred_svm, average='macro') recall_svm = recall_score(y_test, y_pred_svm, average='macro') f1_svm = f1_score(y_test, y_pred_svm, average='macro') accuracy_svm, precision_svm, recall_svm, f1_svm # Print the results print("Accuracy:", accuracy_svm)