Understanding AdaGrad: A Comprehensive Overview of the Adaptive Gradient Algorithm in Machine Learning