it's a bit strange to be passing a regularization parameter for unregularized logistic regression.  if there's no easy way around this, then we should at least set the default value to zero (not 1).