Processing unit programmed for predicting a level of quality of a vacuum into a vacuum chamber of a coating machine suitable for coating optic elements said processing unit comprising an input interface for acquiring at least a value of at least one technical feature of the coating machine during a coating process of the optic elements (8), and a predicting unit for predicting said level of quality from the at least one acquired value by means of a machine learning model, said at least one technical feature value being an input of said machine learning model and said level of quality being an output of said machine learning model.