Primary competition visual

AutoInland Vehicle Insurance Claim Challenge

Helping Nigeria
$1 000 USD
Completed (over 4 years ago)
Prediction
1606 joined
632 active
Starti
Mar 26, 21
Closei
Jun 27, 21
Reveali
Jun 27, 21
need help ! , while i am trying to fit the model and score i am getting the below error.
Data · 12 Jul 2021, 05:42 · 6

/usr/local/lib/python3.7/dist-packages/sklearn/linear_model/_logistic.py:940: ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED LIMIT.

I am getting the above error, here is my notebook . please suggest. i am stuck in this project for so long time.

https://colab.research.google.com/drive/1qgRBJvZ3Dw4fqRHyGsJcrp_QfYSTuaMK?usp=sharing

Discussion 6 answers

https://stackoverflow.com/questions/62658215/convergencewarning-lbfgs-failed-to-converge-status-1-stop-total-no-of-iter

Your solution is here

12 Jul 2021, 06:27
Upvotes 0

thanks a lot ! it really helped.

Hi Kruzer1138,

This is not an error. This is warning from Logistic Regression that your model is not good enough for the given data points. Try working on normalization/ scaling and many different techniques to feed to your model. You can also use some advanced boosting models as well to better fit the data.

12 Jul 2021, 06:29
Upvotes 0

thanks a lot , it helped

User avatar
University of lagos

You should try increasing the max_iter

12 Jul 2021, 09:09
Upvotes 0