Flexible Raman Amplifier Optimization Based on Machine Learning-Aided Physical Stimulated Raman Scattering Model