Multicategory prediction using arrays of binary pattern classifiers