alteryx / alteryx/evalml

Linear model throws convergence error on city_rev.csv

Open
#2,763 2 comments 0 reactions 0 assignees View on GitHub
bug good first issue performance
Dominant language
Python
Stars
850
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Preview of the error:
![image](https://user-images.githubusercontent.com/22552445/132767824-2af2d1c6-46ef-49f7-ab06-0e3392615ce0.png)

We've noticed this for several of our perf testing datasets. One in particular was `regress.csv`
Cloudwatch link [here](https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logsV2:log-groups/log-group/$252Fecs$252Fevalml-test/log-events/ecs$252Fprod-evalml$252F9da7d5e7ccc44ca6a2fdd9c3943d1997)
The warning being printed:
```
2021-09-09T17:33:44.934-04:00 | //.pyenv/versions/3.8.3/lib/python3.8/site-packages/sklearn/linear_model/_logistic.py:763: ConvergenceWarning: lbfgs failed to converge (status=1):
-- | --
  | 2021-09-09T17:33:44.934-04:00 | STOP: TOTAL NO. of ITERATIONS REACHED LIMIT.
  | 2021-09-09T17:33:44.934-04:00 | Increase the number of iterations (max_iter) or scale the data as shown in:
  | 2021-09-09T17:33:44.934-04:00 | https://scikit-learn.org/stable/modules/preprocessing.html
  | 2021-09-09T17:33:44.934-04:00 | Please also refer to the documentation for alternative solver options:
  | 2021-09-09T17:33:44.934-04:00 | https://scikit-learn.org/stable/modules/linear_model.html#logistic-regression
  | 2021-09-09T17:33:44.934-04:00 | n_iter_i = _check_optimize_result(
```

This could be in relation to the Elastic Net models we have.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.