/usr/local/lib/python3.10/dist-packages/sklearn/metrics/_classification.py:1531: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior. | |
_warn_prf(average, modifier, f"{metric.capitalize()} is", len(result)) | |
precision recall f1-score support | |
0 0.93 0.85 0.89 114 | |
1 0.60 0.79 0.68 33 | |
accuracy 0.84 147 | |
macro avg 0.77 0.82 0.79 147 | |
weighted avg 0.86 0.84 0.84 147 | |