Patent attributes
Methods, systems, and computer programs are presented for generating a usage model for predicting user commands in an app. One method includes receiving model information from client devices. The model is obtained at each client device by training a machine-learning program with app usage data. The server generates synthetic data using the models from the client devices. A machine-learning program is trained using the synthetic data to obtain a global model, which receives as input information about recent commands entered on the app and generates an output with a prediction for the next command expected to be received by the app. The information of the global model is transmitted to a first client device, and the app provides at least one command option in the app user interface based on a prediction, generated by the global model, of the next command expected.