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 tuning history to OptHistory #1188

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

MorrisNein
Copy link
Collaborator

Solves #1187 (follows aimclub/GOLEM#228).

Changes usages of history.individuals to history.generations, since the old field name is deprecated in GOLEM.

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Merging #1188 (196d366) into master (0bc7c59) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1188      +/-   ##
==========================================
+ Coverage   79.50%   79.53%   +0.03%     
==========================================
  Files         145      145              
  Lines       10021    10023       +2     
==========================================
+ Hits         7967     7972       +5     
+ Misses       2054     2051       -3     
Files Coverage Δ
fedot/api/api_utils/api_composer.py 100.00% <100.00%> (ø)
fedot/core/pipelines/tuning/tuner_builder.py 82.41% <100.00%> (+0.80%) ⬆️

... and 1 file with indirect coverage changes

@kasyanovse kasyanovse self-requested a review October 26, 2023 10:58
fedot/api/api_utils/api_composer.py Show resolved Hide resolved
@@ -33,6 +33,7 @@ def __init__(self, task: Task):
self.eval_time_constraint = None
self.additional_params = {}
self.adapter = PipelineAdapter()
self.history = None
Copy link
Collaborator

Choose a reason for hiding this comment

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

Вроде бы новых тестов для history нет, значит во всех тестах он по умолчанию принимается равным None?
В таком случае стоит добавить хотя бы один тест, где он не будет равен None.

@MorrisNein MorrisNein marked this pull request as draft December 8, 2023 10:23
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.

2 participants