Using deep learning to help distinguish dark matter from cosmic noise