-
Notifications
You must be signed in to change notification settings - Fork 8
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
Conversation
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 Report
@@ 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
|
golem/core/tuning/iopt_tuner.py
Outdated
|
||
self.was_tuned = True | ||
|
||
tuned_graph = self.adapter.restore(graph) | ||
return tuned_graph | ||
# Validation is the optimization do well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
имелось ввиду -- валидировать, если оптимизация прошла успешно?
There was a problem hiding this comment.
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
* Fix metric setting * PEP 8 * Correct comments
* Fix metric setting * PEP 8 * Correct comments
Previously setting of
self.obtained_metric
was incorrect which was leading to integration test failing in FEDOT