add logistic regression class