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

Consolidate graphing methods #1060

Merged
merged 13 commits into from
Aug 17, 2020
Merged

Consolidate graphing methods #1060

merged 13 commits into from
Aug 17, 2020

Conversation

angela97lin
Copy link
Contributor

@angela97lin angela97lin commented Aug 14, 2020

Closes #1053 by moving methods previously under evalml/pipelines/graph_utils.py to evalml/model_understanding/graphs.py and consolidating tests from evalml/tests/pipeline_tests/test_graphs.py and evalml/tests/pipeline_tests/test_graph_utils.py to evalml/tests/model_understanding_tests/test_graphs.py. Also moved prediction explanations from evalml/pipelines/prediction_explanations to evalml/model_understanding/prediction_explanations (@freddyaboulton FYI). I left feature_importances alone since that's a property of a pipeline but open to comments / suggestions.

Docs here: https://evalml.alteryx.com/en/1053_consolidate_graph/index.html

(Specifically, API ref change: https://evalml.alteryx.com/en/1053_consolidate_graph/api_reference.html#model-understanding)

@angela97lin angela97lin added this to the August 2020 milestone Aug 14, 2020
@angela97lin angela97lin self-assigned this Aug 14, 2020
@codecov
Copy link

codecov bot commented Aug 14, 2020

Codecov Report

Merging #1060 into main will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##             main    #1060    +/-   ##
========================================
  Coverage   99.91%   99.91%            
========================================
  Files         191      194     +3     
  Lines       10362    10986   +624     
========================================
+ Hits        10353    10977   +624     
  Misses          9        9            
Impacted Files Coverage Δ
..._understanding/prediction_explanations/__init__.py 100.00% <ø> (ø)
...derstanding/prediction_explanations/_algorithms.py 100.00% <ø> (ø)
evalml/pipelines/__init__.py 100.00% <ø> (ø)
evalml/tests/pipeline_tests/test_graphs.py 100.00% <ø> (ø)
evalml/utils/__init__.py 100.00% <ø> (ø)
evalml/model_understanding/__init__.py 100.00% <100.00%> (ø)
evalml/model_understanding/graphs.py 100.00% <100.00%> (ø)
...tanding/prediction_explanations/_user_interface.py 100.00% <100.00%> (ø)
...nderstanding/prediction_explanations/explainers.py 100.00% <100.00%> (ø)
evalml/objectives/cost_benefit_matrix.py 100.00% <100.00%> (ø)
... and 12 more

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 c0ad9f8...bec50cb. Read the comment docs.

@angela97lin angela97lin marked this pull request as ready for review August 14, 2020 18:41
Copy link
Contributor

@freddyaboulton freddyaboulton left a comment

Choose a reason for hiding this comment

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

@angela97lin Looks good to me!

evalml/tests/pipeline_tests/test_graph_utils.py Outdated Show resolved Hide resolved
@dsherry
Copy link
Contributor

dsherry commented Aug 14, 2020

I just left a related comment on the issue. Let's resolve that before merging this PR

@angela97lin
Copy link
Contributor Author

@dsherry I've addressed your comment! :D

Copy link
Contributor

@dsherry dsherry left a comment

Choose a reason for hiding this comment

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

👏 awesome, thank you!



Model Understanding
===================
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good!

Could be nice to move prediction explanations after the graphing stuff

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good!

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.

Move graph utils + prediction explanations to "evalml/model_understanding"
3 participants