# how does class 0 scores in the classification report are calculated ( sklearn python )?

Here how these class-0 probability are calculated??

print(classification_report(y_true, y_pred, target_names=target_names)) precision recall f1-score support

class 0       0.50      1.00      0.67         1
class 1       1.00      0.67      0.80         3


avg / total 0.70 0.60 0.61 4