fix some issues in logistic regression
fix some issues in logistic regression

NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q,NerdWalletOSS/Q