Text this: Improved stochastic gradient descent algorithm with mean-gradient adaptive stepsize for solving large-scale optimization problems