Describing metrics
It's never a bad time to revise the definitions of some popular metrics.
The evaluate library has been loaded for you, along with the four classification metrics: accuracy, precision, recall, and f1.
Este exercício faz parte do curso
Introduction to LLMs in Python
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Obtain a description of each metric
print(accuracy.____)
print(precision.____)
print(recall.____)
print(f1.____)