Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick doubts on using the library #9

Open
rfsilva1 opened this issue Oct 28, 2021 · 1 comment
Open

Quick doubts on using the library #9

rfsilva1 opened this issue Oct 28, 2021 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rfsilva1
Copy link

rfsilva1 commented Oct 28, 2021

Hello,
First of all, congratulations for the eaftools library. It is one of the best tools I've seen to visualize the results of multi-objective optimization. I have three quick questions related to its use (I've searched through the documentation, the website, and the source code and did not find it):
1- Is there a way to extract to which percentile each point on the original dataset would belong (the attainment surfaces), after running the eafplot function for maximizing one criteria and minimizing the other one? Example: I've generated a plot with percentiles = c(0, 20, 40, 60, 80, 100) and I can plot the original points in the dataset on the final plot using extra.points. However, it would be very valuable to know to which "percentile class" each point belonged, so I could calculate the % of points in each "percentile class"
2- Is there an example for running the eaf for 3 dimensions?
3- Are there any visualizations planned for the library for optimization in 3 dimensions?
Thanks a lot,
Roberto

@MLopez-Ibanez
Copy link
Owner

Hello, First of all, congratulations for the eaftools library. It is one of the best tools I've seen to visualize the results of multi-objective optimization.

Thanks! It is nice to know somebody is using my work and find it useful.

I have three quick questions related to its use (I've searched through the documentation, the website, and the source code and did not find it): 1- Is there a way to extract to which percentile each point on the original dataset would belong (the attainment surfaces), after running the eafplot function for maximizing one criteria and minimizing the other one? Example: I've generated a plot with percentiles = c(0, 20, 40, 60, 80, 100) and I can plot the original points in the dataset on the final plot using extra.points. However, it would be very valuable to know to which "percentile class" each point belonged, so I could calculate the % of points in each "percentile class"

You could recompute them in the same way that the function does it, but with this recent commit 13af633, the attsurfs are returned invisibly. Check the example here: https://mlopez-ibanez.github.io/eaf/reference/eafplot.html#examples

2- Is there an example for running the eaf for 3 dimensions?

Yes, see here: https://mlopez-ibanez.github.io/eaf/reference/eafs.html#examples
If you have plotly installed, you can visualize the points with the commented out example.
Not as nice as the plots generated by the package but it is something.

3- Are there any visualizations planned for the library for optimization in 3 dimensions?

Not at the moment but only because of lack of time and man (or woman) power. I would absolutely love to have 3D visualizations and ways to visualize even higher dimensions and I know quite well the literature available. But I don't have enough free time to do it myself and I haven't found people willing and capable to help with this or money to fund the work.

I would also like to convert all the visualizations to use ggplot2 and possibly plotly. I have created a proof of concept for a different project: https://zenodo.org/record/5040421 but converting the whole package and checking that everything works is too large a project for the amount of free time that I have available. Any help is very much appreciated.

@MLopez-Ibanez MLopez-Ibanez added good first issue Good for newcomers help wanted Extra attention is needed labels Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants