Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line search #21

Merged
merged 12 commits into from
Jul 18, 2020
Merged

Line search #21

merged 12 commits into from
Jul 18, 2020

Conversation

yngvem
Copy link
Owner

@yngvem yngvem commented Jul 18, 2020

Added line search, preconditioning and fixed bugs

Features:

  • Backtracking line search for Lipschitz
  • Preconditioning via Centering

Bugfixes:

  • Chosen groups with same groups for each row
  • Intercept not used correctly for all logistic group lasso methods

…d and bugfix for LogisticGroupLassp

Backtracking line search was implemented for the Lipschitz constant.
Changed how Lipschitz is estimated for Logistic group lasso
Centering before fitting with nonsparse input. Intercept is modified afterwards.
Subsampling is now using classes to remember indices for the same iteration
Logistic group lasso now uses intercept correctly for all methods
… to have exact constant). Added test for using the intercept
@pep8speaks
Copy link

pep8speaks commented Jul 18, 2020

Hello @yngvem! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 23:80: E501 line too long (80 > 79 characters)
Line 24:80: E501 line too long (80 > 79 characters)
Line 25:80: E501 line too long (86 > 79 characters)
Line 73:80: E501 line too long (87 > 79 characters)
Line 77:80: E501 line too long (83 > 79 characters)

Line 683:80: E501 line too long (83 > 79 characters)
Line 684:80: E501 line too long (93 > 79 characters)

Line 410:80: E501 line too long (88 > 79 characters)

Comment last updated at 2020-07-18 11:48:23 UTC

@yngvem yngvem merged commit 0c9cf68 into master Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants