Primary competition visual

AutoInland Vehicle Insurance Claim Challenge

Helping Nigeria
$1 000 USD
Completed (over 5 years ago)
Prediction
1615 joined
632 active
Starti
26 Mar 21
Closei
27 Jun 21
Reveali
27 Jun 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
User avatar

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

Your solution is here

Upvotes 0
User avatar
Upvotes 0
User avatar

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.

Upvotes 0
User avatar
Upvotes 0
User avatar

You should try increasing the max_iter

Upvotes 0