-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
ENH Add trust-ncg
solver to LogisticRegression
#22236
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
Closed
Closed
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
70ecf59
Initial commit
rithvikrao 1ad6650
Remove extraneous print statement
rithvikrao ba513a0
Merge branch 'master' into logistic
rithvikrao 03381b3
remove trust-krylov solver
rubywerman 9a0e192
remove trust-krylov solver
rubywerman a9e6208
revert changes on this file, not finished with it yet
rubywerman 0559dd1
add hess suggestions
rubywerman ea103e1
change hessp parameter
rubywerman 6b27b1d
change hessp signature
rubywerman b4a016d
add trust-ncg to table
rubywerman 8702ed7
add use case for trust-ncg
rubywerman 9c5adbb
Merge branch 'main' into logistic
Micky774 e3205c7
Merge branch 'main' into logistic
Micky774 d750f54
Merge branch 'main' into logistic
Micky774 d29e0f4
Updated cocs for `_logistic.py`
Micky774 f624b78
Merge branch 'main' into logistic
Micky774 4a7b9f1
Added tmp files for establishing benchmark
Micky774 781d53c
Changed graph style
Micky774 36ef601
Merge remote-tracking branch 'upstream/main' into logistic
Micky774 559ca3f
Added saved benchmark results
Micky774 f77de69
Updated benchmark file w/ validation capability
Micky774 d4b60b4
Added title to graphs
Micky774 098fabd
Merge branch 'main' into logistic
Micky774 9a4de1a
Added new benchmark file
Micky774 0f2474e
Improved benchmarking display
Micky774 f9270d9
Saved df w/ dense and sparse comparison
Micky774 509498c
Merge branch 'main' into logistic
Micky774 0b5a209
Merge branch 'main' into logistic
Micky774 2b8114f
Fixed typo
Micky774 b62821c
Tried to reconcile loss update, and improved tests
Micky774 98f3970
Updated `trust-ncg` to use scalar loss w/o gradient
Micky774 3b058ec
Added broken version for debugging
Micky774 c36f628
Fixed implementation of `trust-ncg`
Micky774 87876ad
Add trust-ncg to solver equality tests
Micky774 0969a67
Removed old dataframe files
Micky774 c19244a
Merge branch 'main' into logistic
Micky774 bf66c88
Removed old benchmark files and expanded tests
Micky774 cb8d256
Added changelog entry
Micky774 3711628
Updated comments over current hack
Micky774 f9e1939
Merge branch 'main' into logistic
Micky774 0da5868
Merge branch 'main' into logistic
Micky774 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The local instantiation of
LinearModelLoss
is to counteract to a bug caused by the reassignment ofloss
to a scalar value later in the code (at the end of the loop). In a separate PR, we ought to rename theloss
referring to the internal loss module, or rename theloss
referring to the scalar loss.