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