Acquiring and Complementing the Model for Diagnostic Tasks