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

Fill default values when parent is missing #1312

Merged
merged 20 commits into from
Jan 28, 2021
Merged

Conversation

thehomebrewnerd
Copy link
Contributor

@thehomebrewnerd thehomebrewnerd commented Jan 20, 2021

Fill default values when parent is missing

Replaces PR #1217

Closes #682

@codecov
Copy link

codecov bot commented Jan 20, 2021

Codecov Report

Merging #1312 (c80ac1a) into main (6f7cead) will increase coverage by 0.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1312      +/-   ##
==========================================
+ Coverage   98.38%   98.51%   +0.12%     
==========================================
  Files         135      135              
  Lines       14496    14485      -11     
==========================================
+ Hits        14262    14270       +8     
+ Misses        234      215      -19     
Impacted Files Coverage Δ
featuretools/computational_backends/utils.py 95.54% <ø> (ø)
...mputational_backend/test_feature_set_calculator.py 100.00% <ø> (+0.36%) ⬆️
featuretools/tests/entityset_tests/test_es.py 100.00% <ø> (+1.28%) ⬆️
...uretools/tests/entityset_tests/test_es_metadata.py 100.00% <ø> (+0.59%) ⬆️
...eaturetools/tests/entityset_tests/test_plotting.py 100.00% <ø> (+1.63%) ⬆️
...ols/tests/synthesis/test_deep_feature_synthesis.py 99.29% <ø> (+0.13%) ⬆️
featuretools/utils/plot_utils.py 92.00% <ø> (ø)
...s/computational_backends/feature_set_calculator.py 98.70% <100.00%> (+0.01%) ⬆️
...utational_backend/test_calculate_feature_matrix.py 99.44% <100.00%> (+<0.01%) ⬆️
featuretools/tests/conftest.py 100.00% <100.00%> (+3.40%) ⬆️

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 02d960f...c80ac1a. Read the comment docs.

@thehomebrewnerd thehomebrewnerd self-assigned this Jan 27, 2021
@thehomebrewnerd thehomebrewnerd changed the title [WIP] Fill default values when parent is missing Fill default values when parent is missing Jan 27, 2021
@@ -152,6 +152,64 @@ def ks_diamond_es(pd_diamond_es):
return ft.EntitySet(id=pd_diamond_es.id, entities=entities, relationships=relationships)


@pytest.fixture(params=['pd_transactions_defaultvalue_es', 'dask_transactions_defaultvalue_es', 'ks_transactions_defaultvalue_es'])
def transactions_defaultvalue_es(request):
Copy link
Contributor

Choose a reason for hiding this comment

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

thoughts on shortening this to default_value_es and adjusting the other fixtures to match?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, that would be cleaner for sure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rwedge Updated

Copy link
Contributor

@rwedge rwedge left a comment

Choose a reason for hiding this comment

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

Looks good!

@thehomebrewnerd thehomebrewnerd merged commit 5450641 into main Jan 28, 2021
@thehomebrewnerd thehomebrewnerd deleted the fill-default-val branch January 28, 2021 22:26
@rwedge rwedge mentioned this pull request Jan 29, 2021
@rwedge rwedge restored the fill-default-val branch February 5, 2021 18:42
@rwedge rwedge deleted the fill-default-val branch February 8, 2021 22:17
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.

When calculating direct features use default value if parent missing
3 participants