Uncertainty Quantification From Scaling Laws in Deep Neural Networks