Repository navigation
Conversation
gadget3 now leaves the model arrays NaN for time points the model didn't reach (e.g. removed by retro_years). These aren't part of the fit, so drop them from sidat & catchdist.fleets. Output for older gadget3 versions is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gadget3 now reports __regression, the intercept & slope of each combination of a survey index's dimensions (e.g. age). Use it when available, rather than __params, which only has the final combination. sidat keeps any age & stock columns, so the rows can be told apart. Output for older gadget3 versions is unchanged, bar the extra age / stock columns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
This is the companion commit for gadget-framework/gadget3#278 which (finally) fixes surveyindices when the retro_years option is used.
data points for years that aren't run in the model (retro_years) are now NaN, not 0, so we can filter them away.
The __regression array solves the sub-issue in gadget-framework/gadget3#55 that there's no breakdown of the regression output. The new __regression output replaces __params, and has a breakdown. Eventually we can rip out the old one.
There's no harm in merging this and using it against old gadget3, everything should keep working as-is (although obviously you won't be able to use retro_years still).