CNN-based compensation of faulty planar phased-array radiation patterns