An Efficient Machine Learning and Deep Learning-Enabled Anomaly Detection and Recovery in Academic & Industrial Applications Based on IoT and IIoTs
DOI:
https://doi.org/10.5281/zenodo.23761567Keywords:
Anomaly detection; anomaly recovery; machine learning; AI4I 2020; predictive maintenance; Random Forest; Decision Tree; data reconstruction; data quality; industrial IoTAbstract
Data quality is a prerequisite for dependable machine-learning systems in academic information environments and industrial predictive-maintenance platforms. Missing observations, duplicate records, inconsistent entries, outliers, sensor faults, and corrupted measurements can distort learned decision boundaries and reduce the reliability of automated analysis. Conventional anomaly-detection pipelines commonly identify abnormal observations but terminate before the affected information is restored. This study formulates anomaly handling as a two-stage Computing R&D problem: detect abnormal or failure-related observations and then recover or reconstruct affected data so that the resulting dataset remains useful for downstream analysis. The proposed framework integrates data acquisition, quality auditing, preprocessing, feature engineering, anomaly/failure detection, recovery, and quantitative evaluation. The principal industrial validation uses the AI4I 2020 Predictive Maintenance dataset with 10,000 instances. Decision Tree, Random Forest, and Logistic Regression are compared using accuracy, failure-class precision, recall, F1-score, ROC-AUC, and confusion-matrix analysis. The reported results are 98.20%, 98.35%, and 97.30% accuracy and 0.919, 0.966, and 0.893 ROC-AUC, respectively. Random Forest provides the strongest overall discrimination and failure precision, whereas Decision Tree provides higher failure recall. Recovery quality is evaluated separately through reconstruction errors. The reported comparison reduces error from 0.085 to 0.023 for the proposed model, compared with post-recovery errors of 0.038 for Isolation Forest, 0.061 for OC-SVM, and 0.089 for K-Means. The principal contribution is therefore not a new standalone classifier but a modular recovery-aware architecture and evaluation logic that treats detection and reconstruction as distinct, measurable stages. The study also identifies limitations related to class imbalance, dataset scope, reproducibility details, and cross-domain academic validation. The results support recovery-aware anomaly analytics as a practical direction for intelligent data-quality management, while future work should add repeated cross-validation, uncertainty estimates, named academic datasets, explainability, and experimentally implemented generative or temporal recovery models.