Probabilistic Methods for Mitigating Uncertainties in Large-Scale Computing and Machine Learning