Graph-partitioning based convolutional neural network for earthquake detection using a seismic array