Singular matrix
I wrote the class identically, and fit the model. There is an error saying:
"c:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\sklearn\linear_model\_logistic.py:444: ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED LIMIT. Increase the number of iterations (max_iter) or scale the data" ....
"89 raise LinAlgError("Singular matrix") LinAlgError: Singular matrix"
I tried to fix this assuming there is multicollinearity, but even after removing highly correlated variables, it's still showing this error. What should I do? I could not move on because of this.
0 answers ( 0 marked as helpful)