sgd hyperparameter tuning