Navigation Menu

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 repr to ComponentGraph and use in PipelineBase #2565

Merged
merged 4 commits into from Jul 28, 2021

Conversation

angela97lin
Copy link
Contributor

@angela97lin angela97lin commented Jul 27, 2021

Closes #2204 by adding repr to the ComponentGraph class and then cleaning up PipelineBase's repr to reuse ComponentGraph's repr.

On main:
image

After this PR:
image

@angela97lin angela97lin self-assigned this Jul 27, 2021
@codecov
Copy link

codecov bot commented Jul 27, 2021

Codecov Report

Merging #2565 (41082fd) into main (3b5bf62) will increase coverage by 0.1%.
The diff coverage is 100.0%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #2565     +/-   ##
=======================================
+ Coverage   99.9%   99.9%   +0.1%     
=======================================
  Files        285     285             
  Lines      26103   26115     +12     
=======================================
+ Hits       26069   26081     +12     
  Misses        34      34             
Impacted Files Coverage Δ
evalml/pipelines/component_graph.py 100.0% <100.0%> (ø)
evalml/pipelines/pipeline_base.py 99.7% <100.0%> (-<0.1%) ⬇️
...valml/tests/pipeline_tests/test_component_graph.py 100.0% <100.0%> (ø)

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 3b5bf62...41082fd. Read the comment docs.

@angela97lin angela97lin marked this pull request as ready for review July 28, 2021 06:18
Copy link
Collaborator

@chukarsten chukarsten left a comment

Choose a reason for hiding this comment

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

Awesome sauce. I always get sad when the built ins aren't defined.

@angela97lin angela97lin merged commit 1f0b96d into main Jul 28, 2021
@angela97lin angela97lin deleted the component_graph_repr branch July 28, 2021 16:07
@chukarsten chukarsten mentioned this pull request Aug 3, 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.

Printing component graph fails
2 participants