updated prototype for logistic regression classifier