A Machine Learning Based Approach To Melting Layer Detection