Hybrid Statistical and Deep Learning Models for Diagnosis and Prognosis in Manufacturing Systems