Skip to content

Conversation

@plakrisenko
Copy link
Member

Visualization of parameter values included in the ensemble.

if ax is None:
fig, ax = plt.subplots(figsize=size)

x = -0.4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is x?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the x coordinate for the rectangle vertex, changed now

@codecov-commenter
Copy link

codecov-commenter commented May 6, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.66%. Comparing base (ddca7d1) to head (8307336).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1574   +/-   ##
========================================
  Coverage    83.65%   83.66%           
========================================
  Files          163      163           
  Lines        14071    14101   +30     
========================================
+ Hits         11771    11797   +26     
- Misses        2300     2304    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@stephanmg stephanmg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See single line comments.

Copy link
Collaborator

@PaulJonasJost PaulJonasJost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this :) looks good to me

@close_fig
def test_ensemble_parameters_plot():
# creates a test problem
problem = create_problem(n_parameters=100)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

such a big one necessary for the test? 🙈

Copy link
Contributor

@Doresic Doresic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really nice! Will use myself :) I have a couple of comments

  • can we have a general legend on all the elements of the figure (the rectangles, red point, dashed line)
  • can we have a bar on the side or at the top of the plot that shows the grey and mentions what the grey gradient actually represents? Btw, what does it actually represent? The obj. func. value of the point?

Comment on lines +430 to +431
ensemble:
ensemble of parameter vectors (from pypesto.ensemble).
Copy link
Contributor

@Doresic Doresic Nov 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is a method to generally just visualize the ensemble, so we cannot really say that the rectangles represent, for example, 95% confidence intervals. But one would need to create an ensemble in some way, and then subset it using a xi^2 threshold to get confidence intervals, right?
Would it be good to have this showcased somewhere, like in a notebook that mentiones ensembles or identifiability? How to use this visualization correctly? Or is it ok to just expand the description of the visualization in the docstring to describe that it will just visualize all members of the ensemble and that these do not represent CIs.

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.

8 participants