๐Ÿ“ง Spam Filter Trainer

Train a spam classifier using logistic regression!

Phase 1: Training

Label 20 emails to train the classifier

0%
Precision
0%
Recall

๐Ÿ“š Logistic Regression in Email Filtering

Logistic regression is a binary classification algorithm perfect for spam detection. It learns to assign probabilities (0-1) based on features like word frequency, sender patterns, and content structure. The sigmoid function ฯƒ(z) = 1/(1+e^-z) maps any input to a probability, with a decision boundary at 0.5. This is how your email provider protects you from millions of spam messages daily!