'FastICA' object has no attribute 'predict' #20091
-
When I do hyperparameter tuning of FastICA using GridSearchCV, It gives the error 'FastICA' object has no attribute 'predict'
|
Beta Was this translation helpful? Give feedback.
Answered by
NicolasHug
May 14, 2021
Replies: 1 comment 1 reply
-
FastICA isn't a predictor: it doesn't predict a target |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
glemaitre
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FastICA isn't a predictor: it doesn't predict a target
y
, so it doesn't have apredict()
method.It's just a transformer, meaning it can only transform
X
via atransform()
method