precision recall f1-score support ham 0.98 0.99 0.99 969 spam 0.93 0.89 0.91 145 accuracy 0.98 1114 macro avg 0.96 0.94 0.95 1114 weighted avg 0.98 0.98 0.98 1114