You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have om.slice_plot to visualize objective functions. You can see them in action here
Desired Situation
For two-dimensional problems it would be nice to do a 3d visualization of objective function. This could either be a 3d plot or a heatmap plot. Examples for both can be found here
For higher dimensional functions we could do a grid of such plots to show how the function varies when changing two parameters at a time. This would follow the idea of a seaborn.pairplot.
Proposed implementation
Doing the function evaluations to create the data for the plots needs to be seeparated from the actual plotting code
The function evaluations should be done in parallel using our batch evaluators. You can check the slice plot implementation to see how that is done
The interface should be similar to slice plot
The text was updated successfully, but these errors were encountered:
I've been working on this PR (As my first PR for GSoC Application) — made a few custom tweaks to a copy of the current slice plot function. Just wanted to check — are we aiming for something like the 3D plot I’ve attached here for the sphere function? Also added a heatmap version. Just making sure I’m heading in the right direction. Let me know what you think!
Thanks for the confirmation @janosg
I'm putting an extra param called "projection" for choosing the type of plot projection("3d" or "contour"). I'll create the PR soon.
Hi @janosg
The above mentioned PR completes the enhancement and adds support for contour and 3D surface plots, along with pairwise grid visualizations, and integrates them into the existing slice_plot interface using a clean and modular design.
Current situation
We have
om.slice_plot
to visualize objective functions. You can see them in action hereDesired Situation
Proposed implementation
The text was updated successfully, but these errors were encountered: