ofithcheallaigh / masters_project

This repo is for my MSc in AI research project
0 stars 0 forks source link

Scikit-Learn convergence issue #24

Open ofithcheallaigh opened 1 year ago

ofithcheallaigh commented 1 year ago

Running my code produces the following issue:

C:\Users\a1038064\AppData\Local\Programs\Python\Python310\lib\site-packages\sklearn\linear_model_logistic.py:458: 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 as shown in: https://scikit-learn.org/stable/modules/preprocessing.html Please also refer to the documentation for alternative solver options: https://scikit-learn.org/stable/modules/linear_model.html#logistic-regression n_iter_i = _check_optimize_result(

A quick search of the issue found this quite detailed reply on StackOverflow.

To Do: