Machine Learning approach for Predictive Maintenance in Industry 4.0