A spam classifier, compared three ways

The problem

Build a spam filter for short messages with three different methods and decide which one you would deploy, with evidence.

Requirements

Technologies

Step by step

  1. Collect and label the messages; split them into training, validation and test sets.
  2. Turn each message into word counts over a vocabulary built from the training set.
  3. Train the three classifiers and compare them on the validation set.
  4. Pick a threshold and a winner, then evaluate once on the test set.
  5. Write a short recommendation explaining the trade-off you chose.

Expected result

Three working classifiers, a table of their scores, and a reasoned choice of the one to deploy.

How it is evaluated

Ways to improve it