Skip to content

BUG Corrects tag in TfidfTransformer - #20919

Merged
glemaitre merged 3 commits into
scikit-learn:mainfrom
thomasjpfan:sparse_xdtypes
Sep 3, 2021
Merged

glemaitre merged 3 commits into
scikit-learn:mainfrom
thomasjpfan:sparse_xdtypes

Conversation

@thomasjpfan

Copy link
Copy Markdown
Member

This PR corrects the tag in TfidfTransformer and adds a new common test to check that the tags are the correct dtype.

This is kind of related to #20804, where X_types is overriding the default ["2darray"] which skips most of the common test.

@glemaitre

Copy link
Copy Markdown
Member

We have an issue with some int32/int64 casting in the 32 bits system. Nice PR.

@rth rth 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.

Indeed, thanks!

@glemaitre
glemaitre merged commit cfc1695 into scikit-learn:main Sep 3, 2021
@glemaitre

Copy link
Copy Markdown
Member

Thanks.

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