Closed statwonk closed 8 years ago
The motivation for this patch is that LogitsticAT
did not converge before the max number of iterations in examples/bench.py
.
Mean Absolute Error of LogisticRegression: 4.42687747036
STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT
STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT
Mean Absolute Error of LogisticAT 2.92885375494
However, increasing max_iter
to 50k still fails to produce convergence.
STOP: TOTAL NO. of f AND g EVALUATIONS EXCEEDS LIMIT
STOP: TOTAL NO. of f AND g EVALUATIONS EXCEEDS LIMIT
I'm not familiar with the internals of scipy
, but the error message occurs here.
I'd like to add, thank you for publishing this @fabianp! I've been tinkering with mord. :)
Hi, thanks for the patch! The project definitely needs some more love, so don't hesitate to send me all your improvements.
Somewhat unfortunately, the
scikit-learn
(max_iter
) andscipy
(maxiter
) syntax for max allowed iteration differs. This makesmord
's syntax consistent withscikit-learn
.