Active Learning Template Diagnostic Procedure