Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds the CHECKBIG convergence metric from Fortran NPAGFULLA, which measures parameter stability by calculating the median of relative parameter changes across support points. While the metric is calculated and logged, the convergence criterion continues to use the standard f1-f0 difference approach.
Key changes:
- Implemented
calculate_checkbig()function to compute median relative parameter changes - Added
theta_oldfield to track previous iteration's theta values - Enhanced convergence logging to display both f1-f0 and CHECKBIG metrics for diagnostics
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Contributor
|
| Branch | checkbig |
| Testbed | rust-loki |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result seconds (s) (Result Δ%) | Upper Boundary seconds (s) (Limit %) |
|---|---|---|---|
| bimodal_ke_npag | 📈 view plot 🚷 view threshold | 44.12 s(+20.20%)Baseline: 36.71 s | 47.87 s (92.16%) |
| bimodal_ke_npod | 📈 view plot 🚷 view threshold | 60.77 s(+24.42%)Baseline: 48.84 s | 68.68 s (88.48%) |
| bimodal_ke_postprob | 📈 view plot 🚷 view threshold | 20.68 s(+22.86%)Baseline: 16.83 s | 23.25 s (88.97%) |
Contributor
|
| Branch | checkbig |
| Testbed | rust-moan |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result seconds (s) (Result Δ%) | Upper Boundary seconds (s) (Limit %) |
|---|---|---|---|
| bimodal_ke_npag | 📈 view plot 🚷 view threshold | 18.75 s(-23.53%)Baseline: 24.51 s | 30.08 s (62.31%) |
| bimodal_ke_npod | 📈 view plot 🚷 view threshold | 10.41 s(-0.49%)Baseline: 10.47 s | 10.70 s (97.37%) |
| bimodal_ke_postprob | 📈 view plot 🚷 view threshold | 3.46 s(-0.18%)Baseline: 3.47 s | 3.54 s (97.73%) |
Collaborator
|
The tests are failing because the medians are stabilized long before the likelihood converges. I think we really need to think this criteria through. |
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.
No description provided.