output using logistic regression
logistic regression code