Optimal Sample Selection Through Uncertainty Estimation and Its Application in Deep Learning (Journal of Machine Learning Research, 2026)