Skip to content

ENH Add metadata routing for IterativeImputer - #28187

Merged
OmarManzoor merged 8 commits into
scikit-learn:mainfrom
StefanieSenger:IterativeImputer
Feb 13, 2024
Merged

OmarManzoor merged 8 commits into
scikit-learn:mainfrom
StefanieSenger:IterativeImputer

Conversation

@StefanieSenger

Copy link
Copy Markdown
Member

Reference Issues/PRs

Towards #22893

What does this implement/fix? Explain your changes.

This PR adds metadata routing to IterativeImputer.
(I also corrected an error in the documentation for SelectFromModel that I've found along the way.)

@github-actions

github-actions Bot commented Jan 19, 2024 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 19ddaee. Link to the linter CI: here

@adrinjalali
adrinjalali self-requested a review January 22, 2024 12:40

@adrinjalali adrinjalali left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Otherwise I think this looks pretty good.

Comment thread sklearn/impute/_iterative.py
Comment thread sklearn/impute/_iterative.py Outdated
Comment thread sklearn/impute/_iterative.py Outdated
Comment thread sklearn/impute/_iterative.py Outdated
Comment thread sklearn/tests/test_metaestimators_metadata_routing.py
StefanieSenger and others added 2 commits February 1, 2024 14:16
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>

@adrinjalali adrinjalali left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Otherwise LGTM.

Comment thread sklearn/impute/_iterative.py Outdated
@adrinjalali adrinjalali mentioned this pull request Feb 6, 2024
21 of 28 tasks
@adrinjalali

Copy link
Copy Markdown
Member

@glemaitre @OmarManzoor this is waiting for a second review.

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks @StefanieSenger

@OmarManzoor
OmarManzoor merged commit be35d8c into scikit-learn:main Feb 13, 2024
@StefanieSenger
StefanieSenger deleted the IterativeImputer branch February 13, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants