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 metric setting in tuners #125

Merged
merged 3 commits into from
Jun 15, 2023
Merged

Fix metric setting in tuners #125

merged 3 commits into from
Jun 15, 2023

Conversation

YamLyubov
Copy link
Collaborator

Previously setting of self.obtained_metric was incorrect which was leading to integration test failing in FEDOT

@aim-pep8-bot
Copy link
Collaborator

aim-pep8-bot commented Jun 15, 2023

Hello @YamLyubov! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2023-06-15 13:17:30 UTC

@codecov-commenter
Copy link

codecov-commenter commented Jun 15, 2023

Codecov Report

Merging #125 (3ba4443) into main (0076af4) will decrease coverage by 0.07%.
The diff coverage is 88.23%.

❗ Current head 3ba4443 differs from pull request most recent head 74e6026. Consider uploading reports for the commit 74e6026 to get more accurate results

@@            Coverage Diff             @@
##             main     #125      +/-   ##
==========================================
- Coverage   72.21%   72.14%   -0.07%     
==========================================
  Files         127      127              
  Lines        7284     7289       +5     
==========================================
- Hits         5260     5259       -1     
- Misses       2024     2030       +6     
Impacted Files Coverage Δ
golem/core/tuning/simultaneous.py 85.91% <80.00%> (-8.21%) ⬇️
golem/core/tuning/iopt_tuner.py 100.00% <100.00%> (ø)
golem/core/tuning/tuner_interface.py 91.95% <100.00%> (+0.09%) ⬆️


self.was_tuned = True

tuned_graph = self.adapter.restore(graph)
return tuned_graph
# Validation is the optimization do well
Copy link
Collaborator

Choose a reason for hiding this comment

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

имелось ввиду -- валидировать, если оптимизация прошла успешно?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Да, скорее лучше написать: Validate if optimisation did well

@YamLyubov YamLyubov merged commit acf3e5d into main Jun 15, 2023
@YamLyubov YamLyubov deleted the fix-tuners-metric branch June 15, 2023 13:21
YamLyubov added a commit that referenced this pull request Jun 15, 2023
* Fix metric setting

* PEP 8

* Correct comments
YamLyubov added a commit that referenced this pull request Jun 15, 2023
* Fix metric setting

* PEP 8

* Correct comments
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.

4 participants