Machine-Learning Arithmetic Curves