Casting a safety net: A reliable machine learning approach f