Reliable Deep Learning with Application to Digital Histopathology Image Analysis