A Kernel Based Learning by Sample Technique for Defect Identification Through the Inversion of a Typical Electric Problem