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

Add statistics to archives #100

Merged
merged 20 commits into from Jul 6, 2021
Merged

Add statistics to archives #100

merged 20 commits into from Jul 6, 2021

Conversation

btjanaka
Copy link
Member

@btjanaka btjanaka commented Mar 11, 2021

Description

This PR adds various attributes that provide statistics about an archive.

Resolves #33

Changelog Description

Add statistics attributes to archives (#100)

TODO

  • Add and test attributes - qd_score, obj_max, obj_min, obj_mean, obj_median, coverage
    • obj_min and obj_median are left out because they require more computational effort (we would either add a SortedList or use O(n) or O(n log n) brute force). Furthermore, these metrics are not very common in the literature. Note that the metrics can still be computed from archive.objective_values.
  • Use attributes in tutorials -> followup (see Update examples and tutorials with latest API changes #148)

Questions

Status

  • I have read the guidelines in
    CONTRIBUTING.md.
  • I have formatted my code using yapf
  • I have tested my code by running pytest (tox is run in CI/CD)
  • I have linted my code with pylint
  • This PR is ready to go

@btjanaka btjanaka changed the title Archive enhancements Enhance archive info Mar 11, 2021
@btjanaka btjanaka changed the title Enhance archive info Add more statistics and info to archives Mar 12, 2021
@btjanaka btjanaka changed the title Add more statistics and info to archives Add statistics to archives Apr 13, 2021
@btjanaka btjanaka added this to the v0.4.0 milestone Jul 3, 2021
@btjanaka btjanaka closed this Jul 5, 2021
@btjanaka btjanaka deleted the archive branch July 5, 2021 06:07
@btjanaka btjanaka restored the archive branch July 5, 2021 06:10
@btjanaka btjanaka reopened this Jul 5, 2021
@btjanaka btjanaka added the API label Jul 5, 2021
@btjanaka btjanaka merged commit 9c9c2c7 into master Jul 6, 2021
@btjanaka btjanaka deleted the archive branch July 6, 2021 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Logging Capabilities
1 participant