minor update for batch mode training of logistic classifier