print(metrics.classification_report(y_test, svc_pred))
precision recall f1-score support
automotive 1.00 0.38 0.56 13
books and literature 0.00 0.00 0.00 6
business 1.00 0.10 0.17 21
cooking at home 0.00 0.00 0.00 1
eating out at restaurants 1.00 0.50 0.67 2
economy 0.00 0.00 0.00 6
education 1.00 0.15 0.27 13
family and parenting 1.00 0.15 0.27 13
house pets 0.00 0.00 0.00 1
law, government, and politics 1.00 0.33 0.50 3
leisure travel 0.00 0.00 0.00 3
movies and television 1.00 0.28 0.43 18
music 0.88 0.47 0.62 112
news and current events 0.92 0.35 0.51 31
none 0.89 0.99 0.94 2575
personal finance 0.00 0.00 0.00 3
personal health 0.71 0.17 0.27 30
professional career 1.00 0.20 0.33 15
science 1.00 0.33 0.50 3
society 1.00 0.20 0.33 5
sports 0.89 0.17 0.29 47
style and fashion 1.00 0.20 0.33 10
technology 0.88 0.26 0.40 54
video games and gaming 0.00 0.00 0.00 15
accuracy 0.89 3000
macro avg 0.67 0.22 0.31 3000
weighted avg 0.88 0.89 0.86 3000
/shared-libs/python3.9/py/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1334: UndefinedMetricWarning: Precision and F-score are 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, msg_start, len(result))
/shared-libs/python3.9/py/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1334: UndefinedMetricWarning: Precision and F-score are 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, msg_start, len(result))
/shared-libs/python3.9/py/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1334: UndefinedMetricWarning: Precision and F-score are 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, msg_start, len(result))