Key residue identification using ANNs