-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Gauss Newton & LM Robustness Fixes #258
Conversation
Codecov Report
@@ Coverage Diff @@
## master #258 +/- ##
==========================================
- Coverage 94.48% 92.47% -2.02%
==========================================
Files 18 18
Lines 1614 1687 +73
==========================================
+ Hits 1525 1560 +35
- Misses 89 127 +38
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
b25c8bc
to
80e6459
Compare
6e5b422
to
fabd33c
Compare
9d81e46
to
b4ea93f
Compare
93e2815
to
2fdc122
Compare
997fb49
to
417701c
Compare
src/utils.jl
Outdated
NormalBunchKaufmanFactorization) | ||
@eval needs_square_A(::$(alg)) = false | ||
end | ||
for kralg in (LinearSolve.Krylov.lsmr!, LinearSolve.Krylov.craigmr!) |
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.
GMRES
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.
GMRES requires square matrix
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.
That's interesting 😅 . Algorithmically that's not required. It is an algorithm that provably gives the L2 solution on non-square matrices, just like QR.
22b7f25
to
0c1e739
Compare
0c1e739
to
4f632dd
Compare
be854ec
to
6e0911c
Compare
4e78736
to
5e7610a
Compare
02cf007
to
0f261a4
Compare
72fd691
to
4f3c047
Compare
This needs a rebase? |
4f3c047
to
2700fce
Compare
I am really unsure what to do with the Broyden/Klement failures. They fail on 1.9 but magically pass on 1.10 |
@ChrisRackauckas I am disabling the Broyden and Klement 23 test problem tests. I will open and issue and we can deal with it later. No reason to hold off this PR which solves a completely tangential issue |
Merge after #257
For
$$J \delta x = -f(x)$$
GaussNewton
defaults toQRFactorization(ColumnNorm())
, to ensure we can directly solve forFor
LM
we solve