Visual Defence interview question

how to build a classifier in python and how to evaluate it.