precision recall f1-score support
0 0.98 0.90 0.94 305
1 0.77 0.93 0.84 102
avg / total 0.92 0.91 0.91 407
what does avg/total mean? and how does it be computed? didn't find answer on the official website TAT
It's either average or total. Average refers to the first 3: precision, recall and f1-score whereas total refers only to support. Edit: Just to be clear, the average refers to the weighted average, where each label's weight is its support. Follow this answer to receive notifications.
average=macro says the function to compute f1 for each label, and returns the average without considering the proportion for each label in the dataset. average=weighted says the function to compute f1 for each label, and returns the average considering the proportion for each label in the dataset.
A Classification report is used to measure the quality of predictions from a classification algorithm. How many predictions are True and how many are False. More specifically, True Positives, False Positives, True negatives and False Negatives are used to predict the metrics of a classification report as shown below.
It's either average or total. Average refers to the first 3: precision, recall and f1-score whereas total refers only to support.
Edit: Just to be clear, the average refers to the weighted average, where each label's weight is its support.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With