Classification Report
In this chapter, we will assess the classifier we have recently trained, focusing on its performance in predicting test values.
Завдання
Swipe to start coding
Print a detailed classification report using the classification_report
function from sklearn.metrics.
Рішення
from sklearn.metrics import classification_report
# Print a detailed classification report
print(classification_report(y_test, Y_pred, digits=3, output_dict=False))
Mark tasks as Completed
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 8
AVAILABLE TO ULTIMATE ONLY