Machine learning for analysis of GPR images and electromagnetic diagnostics