Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Introduction to LLMs in Python

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Obtain a description of each metric
print(accuracy.____)
print(precision.____)
print(recall.____)
print(f1.____)
Code bewerken en uitvoeren