You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CSP.fit() requires y to work, however the parameter is optional in fit_transform() #10079
changed the title [-]CSP.fit() required y to work, however the parameter is optional in the used mix-in class[/-][+]CSP.fit() requires y to work, however the parameter is optional in fit_transform()[/+]on Dec 3, 2021
Activity
[-]CSP.fit() required y to work, however the parameter is optional in the used mix-in class[/-][+]CSP.fit() requires y to work, however the parameter is optional in fit_transform()[/+]larsoner commentedon Dec 3, 2021
I think our typical solution is just to put y=None in the fit method, then never use it
hoechenberger commentedon Dec 3, 2021
Since CSP is supervised, it cannot work without
y.I'll propose a fix shortly.
Make y a required parameter in CSP.fit_transform()
MRG: Make y a required parameter in CSP.fit_transform() (#10084)