Building Smart IoT Devices with AI: Techniques for Machine Learning-Based Predictive Maintenance and Anomaly Detection 6 Apr, 2023F