A Mixture Model System for Medical and Machine Diagnosis