Refine asymmetric starts with conjugate gradients - #54
Merged
Conversation
Add `cgiter` (default 4) to `cover` and `cover!` to refine the geometric-mean start toward a scale-covariant least-squares log fit. `cgiter=0` disables refinement. Assisted-by: Claude Fable 5.1 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #54 +/- ##
==========================================
+ Coverage 98.92% 98.94% +0.02%
==========================================
Files 15 15
Lines 3805 3900 +95
==========================================
+ Hits 3764 3859 +95
Misses 41 41 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The covariance example for `cover` now compares `cgiter=0` with the default refinement: the unrefined start is only approximately covariant, while the refined start reaches the covariant fit on this small example. The prose notes that larger problems need not converge within the default iteration count. Assisted-by: Claude Fable 5.1 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add
cgiter(default 4) tocoverandcover!to refine the geometric-mean start toward a scale-covariant least-squares log fit.cgiter=0disables refinement.Assisted-by: Claude Fable 5.1 noreply@anthropic.com