Risk-aware Classification via Uncertainty Quantification