Skip to content

FIX (SLEP6) make Pipeline work with an estimator implementing __len__#26964

Merged
thomasjpfan merged 3 commits intoscikit-learn:mainfrom
adrinjalali:pipeline/fix
Aug 2, 2023
Merged

FIX (SLEP6) make Pipeline work with an estimator implementing __len__#26964
thomasjpfan merged 3 commits intoscikit-learn:mainfrom
adrinjalali:pipeline/fix

Conversation

@adrinjalali
Copy link
Copy Markdown
Member

Pipeline fails if the final estimator implements __len__. This fixes the issue.

cc @glemaitre

no changelog is needed since this is not released yet.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 1, 2023

✔️ Linting Passed

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

Generated for commit: 00d05b2. Link to the linter CI: here

Copy link
Copy Markdown
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

@thomasjpfan thomasjpfan merged commit 594475a into scikit-learn:main Aug 2, 2023
@adrinjalali adrinjalali deleted the pipeline/fix branch August 3, 2023 09:04
TamaraAtanasoska pushed a commit to TamaraAtanasoska/scikit-learn that referenced this pull request Aug 21, 2023
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