Artificial deep neural network modeling of solar- and atmospheric-driven ground magnetic perturbations at mid-latitude