Application of federated learning in manufacturing