A connectionist approach to quality assessment of food products