Anomaly Detection in Predictive Maintenance with Time Series Analysis