When not to use deep learning