Building a General and Sustainable Machine Learning Solution in a Real-Time Drilling System