Learning physical geodesy. Application case to geoid undulation computation