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

Update missing_value_replacement default #577

Merged
merged 6 commits into from
Nov 4, 2022
Merged

Conversation

fealho
Copy link
Member

@fealho fealho commented Nov 2, 2022

Resolve #576.

@fealho fealho changed the base branch from master to issue-533-removal-.value November 2, 2022 23:01
@@ -13,24 +13,13 @@
'missing_value_replacement': -1,
'model_missing_values': True
},
'DatetimeTransformer': {
'missing_value_replacement': 'mean',
'UnixTimestampEncoder': {
Copy link
Member Author

Choose a reason for hiding this comment

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

Unrelated change: I think we just forgot to remove these when we renamed the transformers.

@codecov-commenter
Copy link

codecov-commenter commented Nov 2, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (55b0fcf) compared to base (508f4e5).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@                    Coverage Diff                     @@
##           issue-533-removal-.value      #577   +/-   ##
==========================================================
  Coverage                    100.00%   100.00%           
==========================================================
  Files                            17        17           
  Lines                          1482      1440   -42     
==========================================================
- Hits                           1482      1440   -42     
Impacted Files Coverage Δ
rdt/transformers/__init__.py 100.00% <ø> (ø)
rdt/transformers/categorical.py 100.00% <ø> (ø)
rdt/transformers/pii/anonymizer.py 100.00% <ø> (ø)
rdt/transformers/text.py 100.00% <ø> (ø)
rdt/transformers/base.py 100.00% <100.00%> (ø)
rdt/transformers/boolean.py 100.00% <100.00%> (ø)
rdt/transformers/datetime.py 100.00% <100.00%> (ø)
rdt/transformers/numerical.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fealho fealho marked this pull request as ready for review November 3, 2022 00:41
@fealho fealho requested a review from a team as a code owner November 3, 2022 00:41
@fealho fealho requested review from pvk-developer and amontanez24 and removed request for a team November 3, 2022 00:41
Copy link
Member

@pvk-developer pvk-developer left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@amontanez24 amontanez24 left a comment

Choose a reason for hiding this comment

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

This LGTM :shipit:

@@ -362,7 +290,7 @@ def test_is_generator(self):
``IS_GENERATOR`` is set to ``True``.

Output:
- the boolean value stored in ``COMPOSITION_IS_IDENTITY``.
- the boolean value stored in ``IS_GENERATOR``.
Copy link
Contributor

Choose a reason for hiding this comment

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

good catch

Base automatically changed from issue-533-removal-.value to master November 4, 2022 16:50
@fealho fealho merged commit 60c80a0 into master Nov 4, 2022
@fealho fealho deleted the issue-576-update-defaults branch November 4, 2022 18:28
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.

Impute missing values by default
4 participants