ML-lib
ML-lib copied to clipboard
Overflow when running local logistic regression
When Newton-Raphson algorithm approaches convergence, often throws following warning:
RuntimeWarning: overflow encountered in exp
This is likely due to np.matmul(theta.T, X) >> 1, which in a sense is good.