Skip to content

Added unit tests for param importances of matplotlib tests#2774

Merged
Crissman merged 3 commits intooptuna:masterfrom
01-vyom:test-param-importances-2643
Jul 6, 2021
Merged

Added unit tests for param importances of matplotlib tests#2774
Crissman merged 3 commits intooptuna:masterfrom
01-vyom:test-param-importances-2643

Conversation

@01-vyom
Copy link
Copy Markdown
Contributor

@01-vyom 01-vyom commented Jul 2, 2021

Motivation

Added more test cases to optuna/visualization/matplotlib/test_param_importances.py
xref #2643

Description of the changes

  • Checked number of lines
  • Checked title of figure
  • Checked label of figure

@01-vyom 01-vyom changed the title Test param importances 2643 TST: Added unit tests for param importances of matplotlib tests Jul 2, 2021
@nzw0301 nzw0301 added the test Unit test. label Jul 4, 2021
@nzw0301 nzw0301 self-assigned this Jul 4, 2021
Copy link
Copy Markdown
Member

@nzw0301 nzw0301 left a comment

Choose a reason for hiding this comment

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

Like always, your PR looks great to me. Thank you for your many contributions.

@Crissman Crissman self-assigned this Jul 5, 2021
@nzw0301
Copy link
Copy Markdown
Member

nzw0301 commented Jul 5, 2021

Could you merge the master branch to fix the CI errors?

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #2774 (5ad54df) into master (10a9dfe) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2774   +/-   ##
=======================================
  Coverage   91.67%   91.67%           
=======================================
  Files         140      140           
  Lines       11072    11072           
=======================================
  Hits        10150    10150           
  Misses        922      922           

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 10a9dfe...5ad54df. Read the comment docs.

Copy link
Copy Markdown
Contributor

@Crissman Crissman 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 another test enhancement. 🙇 Merging.

@Crissman Crissman merged commit 1f7a85c into optuna:master Jul 6, 2021
@Crissman Crissman added this to the v2.9.0 milestone Jul 6, 2021
@01-vyom 01-vyom deleted the test-param-importances-2643 branch July 6, 2021 03:46
@hvy hvy changed the title TST: Added unit tests for param importances of matplotlib tests Added unit tests for param importances of matplotlib tests Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Unit test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants