-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
[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
Conversation
sklearn/utils/estimator_checks.py
Outdated
'PLSCanonical', 'PLSRegression', 'PLSSVD', 'RBFSampler', | ||
'RandomizedLasso', 'RandomizedLogisticRegression', 'SelectFdr', | ||
'SelectFpr', 'SelectFwe', 'SelectKBest', 'SkewedChi2Sampler', | ||
'SparsePCA', 'SparseRandomProjection', 'VarianceThreshold'] |
There was a problem hiding this comment.
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.
9f4ab2e
to
daf06b3
Compare
74bb95c
to
e9ea2d1
Compare
43160cf
to
22eedc1
Compare
239ee75
to
4f209ed
Compare
6902996
to
6bf9e85
Compare
CCA inherits from _PLS, so needs to be removed from list as it has the same issues with the _PLS |
def48d3
to
aecae5f
Compare
4850707
to
0ff938f
Compare
This pull request introduces 3 alerts when merging 508d95e into 7124d87 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
This pull request introduces 3 alerts when merging 1df891a into 96a02f3 - view on lgtm.com new alerts:
Comment posted by lgtm.com |
@Mariand012 are you still working on this? |
Closing since many of the transformers touched in this PR now preserves dtypes. |
Reference Issues/PRs
related to #11000
What does this implement/fix? Explain your changes.
Avoid conversion float 64 in PLS
Any other comments?