Assessing Predictive Maintenance with IoT and AI