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] long running regression #272

Merged
merged 4 commits into from Jun 30, 2021

Conversation

franchuterivera
Copy link
Contributor

Pytest approximate does not work with compare equal.

Also, simplified the additional_metrics code, which caused problem to the long regression.

@codecov
Copy link

codecov bot commented Jun 23, 2021

Codecov Report

Merging #272 (a77cba5) into development (2ce1570) will increase coverage by 0.08%.
The diff coverage is 60.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development     #272      +/-   ##
===============================================
+ Coverage        81.67%   81.76%   +0.08%     
===============================================
  Files              151      151              
  Lines             8646     8643       -3     
  Branches          1328     1327       -1     
===============================================
+ Hits              7062     7067       +5     
+ Misses            1108     1104       -4     
+ Partials           476      472       -4     
Impacted Files Coverage Δ
...h/pipeline/components/training/trainer/__init__.py 70.05% <60.00%> (-0.76%) ⬇️
...reprocessing/feature_preprocessing/TruncatedSVD.py 89.65% <0.00%> (-3.45%) ⬇️
...orch/pipeline/components/training/metrics/utils.py 87.50% <0.00%> (-2.50%) ⬇️
autoPyTorch/ensemble/ensemble_builder.py 74.21% <0.00%> (+0.62%) ⬆️
...ipeline/components/setup/network_backbone/utils.py 88.72% <0.00%> (+1.50%) ⬆️
autoPyTorch/utils/implementations.py 94.44% <0.00%> (+18.83%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ce1570...a77cba5. Read the comment docs.

Copy link
Contributor

@nabenabe0928 nabenabe0928 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.
I would like to ask you how this change relates to long running regression?

metrics = get_metrics(dataset_properties=X['dataset_properties'])
if 'additional_metrics' in X:
metrics.extend(get_metrics(dataset_properties=X['dataset_properties'], names=X['additional_metrics']))
if 'optimize_metric' in X and 'optimize_metric' not in [m.name for m in metrics]:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you put a single-line comment for what 'optimize_metric' not in [m.name for m in metrics] this means?

@ravinkohli ravinkohli merged commit 54aab63 into automl:development Jun 30, 2021
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.

None yet

3 participants