Learning of network dynamics: mobility, diffusion and evolution