add some comments to logistic_sgd.py