Machine learning-based generation of discrete-element models for nonlinear wave propagation in elasto-plastic metamaterials | Synapse