classification of data using logistic regression with SGD