Modelling the free energy of solvation: from data-driven to statistical mechanical approaches