Machine Learning Approach to Retrieving Physical Variables from Remotely Sensed Data