How to Implement Machine Learning For Predictive Maintenance