Federated machine learning based on partially secured spatio-temporal data