Use Python to create a classifier