Nonparametric training procedures for multicategory pattern classification