-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
[MRG] Allow only fit_transform to be present in pipeline #16714
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
Open
jnboehm
wants to merge
43
commits into
scikit-learn:main
Choose a base branch
from
jnboehm:pipeline/fit_transform
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
8a71ded
Allow only fit_transform to be present in pipeline
b973844
Fix linter error
774c10c
Check final estimator
3dff448
Fix faultly if condition
af07b9d
Fix variable typo
bd9232b
Add a test case for the new pipeline construction
5ceb7e2
Expand test cases with warning and error
3386e76
Fix pep8 style issue
2a295cf
Add blank lines
de0361c
Fix variable names in typos
81cc2c7
Fix conditional for pipeline error check
531250d
Fix conditional for feature union error check
90d3feb
Fix raised error messages
9eceb01
Fix linting
d707747
Improve warning for reusable pipe warning
0696f46
Remove last check in pipeline for final estimator
531c73f
Remove unnecessary check for fit_transform attr
1fa01a0
Fix over-indented line
370daa8
Revert changes to FeatureUnion
e4a5eef
Fix erroneous reverting reverting
a849b1d
Modify warning message
5a673a9
Remove unnecessary print params
8e32dce
Match literal strings in pytest.warns and raises
2c663d0
Pass the estimator to the pipeline
40bf2d4
Add dummy transformer to trigger correct warning
9ef3868
Move the correct code line into the pytest context
bbe900a
Fix error raising for degenerate pipeline
707cd3e
Remove a blank line
6ead4a0
Change unnecessary code format back to original
9db15a2
Expand FeatureUnion warning
jnboehm e25bf89
Fix typo
jnboehm 69e9e83
Add entry to the changelog
jnboehm d188cdd
Remove change in FeatureUnion
jnboehm 232a26b
Delay warning test until fit_transform is called
jnboehm 667e744
Add test for nonreusable pipe with fit_predict
jnboehm d296366
Fix linting error
jnboehm 91b8c48
Accept y param for dummy fit_transform class
jnboehm 8ed1a93
Add missing point
jnboehm 24c8a2b
Merge remote-tracking branch 'origin/master' into pipeline/fit_transform
jnboehm 65538f0
Remove unncessary call to fit()
jnboehm 5bf012e
Fix type in test case for warning
jnboehm 2496865
Empty commit to restart CI pipeline
jnboehm d4e5de6
Merge branch 'master' into pipeline/fit_transform
jnboehm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.