Exploring complex pattern formation with convolutional neural networks