using AdaGrad optimization algorithm instead of SGD