Machine Learning Approaches for the Inversion of the Radiative Transfer Equation