Understanding the Switching Dynamics in Memristor Materials using Large-scale Simulations and Deep Learning Methods