Implemented the binary classifiers in code.