In this paper, regression-based deep convolutional neural networks (CNN), with 12 layers, are developed for predicting the maximal amplitude of the southward component of the near-Earth magnetic field from a passing interplanetary coronal mass ejection (ICME).