Skip to content

Bug 560 overfitting in plot_ratio#561

Open
RobFryer wants to merge 1 commit into
osparcomm:developfrom
RobFryer:bug_plot_ratio
Open

Bug 560 overfitting in plot_ratio#561
RobFryer wants to merge 1 commit into
osparcomm:developfrom
RobFryer:bug_plot_ratio

Conversation

@RobFryer

@RobFryer RobFryer commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

resolves #560

Have reduced the degrees of freedom in plot_ratio to ensure that the smooths don't overfit the data. plot_ratio is used in report_assessment to display contaminant ratios for particular contaminant groups. The smooths are used to capture any changes in the ontaminant ratios over time, but are illustrative only (not used in any inference), so the amount of smoothing is a matter of common sense / judgement.

Tested on the example that created the failure and also on 100 time series assessments selected at random from the 2026 OSPAR CEMP assessment for both biota and sediment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug in plot_ratio

2 participants