說明評估指標
隨時複習幾個常見評估指標的定義都不嫌晚。
已為你載入 evaluate 函式庫,以及四個分類任務的評估指標:accuracy、precision、recall、f1。
本練習屬於課程
Python 的 LLM 入門
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Obtain a description of each metric
print(accuracy.____)
print(precision.____)
print(recall.____)
print(f1.____)