-
Notifications
You must be signed in to change notification settings - Fork 169
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
'AttributeError: 'PCA' object has no attribute 'n_oversamples' #1018
Comments
Seems only reproduce at MacOS
|
Hi @Gabriel-p @FavorMylikes Thank your for your detailed reports. It seems due to new sklearn version 1.1.1, where we have some new parameters for PCA such as |
Running into the same issue, how do we solve it? |
@mjoy296 Downgrade |
@mjoy296, I'm running into the same issue as well. @FavorMylikes, I appreciate your solution but unfortunately I can't downgrade As seen in latest sklearn (1.1.2) docs there are new
Here are evidences:
I wonder if Eventually I would seek for more PCA performance by other means like using GPUs with the PCA from RAPIDS/cuml. |
Describe the bug
Attempting to run the code below results in an error when
sklearnex
is combined withPCA
. This line produces the error shown belowthis line does not
To Reproduce
Store this code in a
PCA_test.py
file and call using the commands aboveExpected behavior
No error
Output/Screenshots
Environment:
The text was updated successfully, but these errors were encountered: