Uncertainty-based fault detection