Hi Maitha, thank you so much.
The code and the concepts are extracted from my MSc thesis on predicative maintenance on industrial CNC machine, let me know if you need the entire PDF of the thesis to help you.
No need to cite, but thanks i appreciated.