Optimization Of A Deep Learning Framework Used For Phase-Change Analysis