create logistic regression module