Optimum Procedures for Classification and Related Problems