llnl / llnl/SEAMsurrogates

Remove duplicate plot_test_predictions function

Open Beginner friendly
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
6
Forks
2
Avg merge
20m
Merged PRs (30d)
2

Description

Currently, the gaussian_process_regression and sensitivity_analysis modules both include a plot_test_predictions function, and the two functions are nearly identical. For example, both functions produce prediction inteval plots that include RMSE and coverage as text annotations, though the text appears in different places for the two plots.

I suggest we remove the function in the sensitivity_analysis module to standardize this plot across the repo and to reduce code duplication.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the plot_test_predictions definitions in the gaussian_process_regression and sensitivity_analysis modules, then check how each module calls the function. Remove the duplicate from sensitivity_analysis so prediction interval plots use the standardized implementation, and run the repository's available tests or plotting checks to confirm the behavior is consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization, machine-learning
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.