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

Major refactor v2 #149

Merged
merged 35 commits into from
Feb 19, 2024
Merged

Major refactor v2 #149

merged 35 commits into from
Feb 19, 2024

Conversation

alcides
Copy link
Owner

@alcides alcides commented Feb 5, 2024

This refactor will do a few things:

  • Extract Machine Learning applications to outside genetic engine (and into the geml package)
  • Shift around the Individual and Node, so that there are no dependencies on GP
  • Implement an API for Program Synthesis methods that do not have to be GP
  • Implement a new Callback API within the evaluator, to record progress in an agnostic way
  • Implement exhaustive search
  • Implement a new method to intercept random, to enable reinforcement learning
  • Redo ProbabilisticGE

Copy link

codecov bot commented Feb 5, 2024

Codecov Report

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

Comparison is base (085d013) 83.39% compared to head (ad1c13a) 85.98%.

Files Patch % Lines
geneticengine/representations/tree/operators.py 59.52% 17 Missing ⚠️
geml/simplegp.py 84.61% 14 Missing ⚠️
...ons/grammatical_evolution/dynamic_structured_ge.py 91.39% 13 Missing ⚠️
...esentations/grammatical_evolution/structured_ge.py 82.89% 13 Missing ⚠️
geneticengine/evaluation/budget.py 71.05% 11 Missing ⚠️
tests/gp/performance_test.py 61.90% 8 Missing ⚠️
tests/gp/probabilistic_test.py 55.55% 8 Missing ⚠️
...neticengine/algorithms/gp/operators/combinators.py 45.45% 6 Missing ⚠️
geneticengine/evaluation/tracker.py 94.36% 4 Missing ⚠️
geneticengine/representations/api.py 81.81% 4 Missing ⚠️
... and 15 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
+ Coverage   83.39%   85.98%   +2.58%     
==========================================
  Files          90       84       -6     
  Lines        5530     4232    -1298     
==========================================
- Hits         4612     3639     -973     
+ Misses        918      593     -325     

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

@alcides alcides changed the title Extract all machine learning applications to the gems package Major refactor v2 Feb 5, 2024
@alcides alcides merged commit 191c75b into main Feb 19, 2024
12 of 13 checks passed
@alcides alcides deleted the refactor2 branch September 17, 2024 13:41
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.

1 participant