Classifier
A model that sorts inputs into categories, like spam or not spam.
This is called the nearest neighbour classifier, and despite being almost embarrassingly simple, it works surprisingly often.
See it in action
Try classifier hands-on in the lesson Learning from examples, part of the AI fundamentals course.