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

Fix pareto dominance definition #174

Merged

Conversation

hannah-jan
Copy link
Collaborator

This PR:

  • Fixes the definition of Pareto dominance in pareto_front.py to account for solutions which have the same fitness values along one axis.

@Lookatator Lookatator changed the base branch from main to develop January 30, 2024 01:59
@Lookatator Lookatator self-requested a review January 30, 2024 02:18
Copy link
Member

@Lookatator Lookatator left a comment

Choose a reason for hiding this comment

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

Hi @hannah-jan

Thank you very much for the PR!

There seems to be a test that does not pass because the variable mask seems undefined?

Apart from that it looks good to me! 😃

@hannah-jan
Copy link
Collaborator Author

Hello!!

@Lookatator thanks for the comment!!

Sorry I did it in a rush (classic me) so put it in the wrong definition.

Both Pareto Dominance definitions should be updated now ☺️

@codecov-commenter
Copy link

codecov-commenter commented Feb 8, 2024

Codecov Report

Attention: 241 lines in your changes are missing coverage. Please review.

Comparison is base (f6a0b71) 92.31% compared to head (f1a2390) 90.96%.
Report is 29 commits behind head on develop.

Files Patch % Lines
qdax/environments/humanoidtrap.py 18.30% 58 Missing ⚠️
qdax/core/neuroevolution/losses/td3_loss.py 41.66% 28 Missing ⚠️
qdax/core/neuroevolution/buffers/buffer.py 37.14% 22 Missing ⚠️
qdax/environments/wrappers.py 45.94% 20 Missing ⚠️
qdax/core/containers/unstructured_repertoire.py 83.47% 19 Missing ⚠️
qdax/core/containers/mels_repertoire.py 76.47% 16 Missing ⚠️
qdax/baselines/pbt.py 76.47% 12 Missing ⚠️
qdax/tasks/brax_envs.py 76.92% 9 Missing ⚠️
tests/core_test/aurora_test.py 90.32% 9 Missing ⚠️
qdax/core/neuroevolution/networks/networks.py 82.22% 8 Missing ⚠️
... and 13 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #174      +/-   ##
===========================================
- Coverage    92.31%   90.96%   -1.36%     
===========================================
  Files          103      125      +22     
  Lines         5816     7657    +1841     
===========================================
+ Hits          5369     6965    +1596     
- Misses         447      692     +245     

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

@Lookatator Lookatator merged commit 30ea208 into adaptive-intelligent-robotics:develop Feb 8, 2024
5 checks passed
@Lookatator Lookatator mentioned this pull request Jun 10, 2024
4 tasks
Lookatator added a commit that referenced this pull request Sep 6, 2024
* feat(algo): add DCG-MAP-Elites whose most recent version is called DCRL-ME (#167)
* fix: Fix pareto dominance definition to account for solutions which have the same fitness values along one axis (#174)
* docs(contribution): clarify contribution process (#171)
* feat: Upgrade Library Versions and Python Version (#187)

---------

Co-authored-by: Maxence Faldor <m.faldor22@imperial.ac.uk>
Co-authored-by: Hannah Janmohamed <hannah.janmohamed21@imperial.ac.uk>
Co-authored-by: Felix Chalumeau <f.chalumeau@instadeep.com>
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.

3 participants