Prototypical Binary Classification Algorithm