8000 [WIP] Avoid float64 conversion for float32 in transformers by Mariand012 · Pull Request #11004 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[WIP] Avoid float64 conversion for float32 in transformers #11004

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

Closed
wants to merge 22 commits into from

Conversation

Mariand012
Copy link

Reference Issues/PRs

related to #11000

What does this implement/fix? Explain your changes.

Avoid conversion float 64 in PLS

Any other comments?

'PLSCanonical', 'PLSRegression', 'PLSSVD', 'RBFSampler',
'RandomizedLasso', 'RandomizedLogisticRegression', 'SelectFdr',
'SelectFpr', 'SelectFwe', 'SelectKBest', 'SkewedChi2Sampler',
'SparsePCA', 'SparseRandomProjection', 'VarianceThreshold']
Copy link
Member

Choose a reason for hiding this comment

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

We also need to include BadTransformerWithoutMixin here and remove the PLS related estimators.

@rth rth changed the title [WIP] Avoid conversion float64 in PLS [WIP] Avoid float64 conversion for float32 in transformers Apr 21, 2018
@Mariand012
Copy link
Author

CCA inherits from _PLS, so needs to be removed from list as it has the same issues with the _PLS

@sklearn-lgtm
Copy link

This pull request introduces 3 alerts when merging 508d95e into 7124d87 - view on lgtm.com

new alerts:

  • 3 for Wrong name for an argument in a call

Comment posted by lgtm.com

@sklearn-lgtm
Copy link

This pull request introduces 3 alerts when merging 1df891a into 96a02f3 - view on lgtm.com

new alerts:

  • 3 for Wrong name for an argument in a call

Comment posted by lgtm.com

@massich
Copy link
Contributor
massich commented Feb 25, 2019

@Mariand012 are you still working on this?

Base automatically changed from master to main January 22, 2021 10:50
@thomasjpfan
Copy link
Member

Closing since many of the transformers touched in this PR now preserves dtypes.

@thomasjpfan thomasjpfan closed this Feb 2, 2022
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.

7 participants
0