A Non-invasive Electromagnetic Diagnostic Technique Based on Neural Network