Learning nonlinearly separable categories by inference and classification. · Study