Asymptotically Efficient Solutions to the Classification Problem