I'm trying to use the SelectKBest or SelectPercentile classes as preprocessors, but I'm finding that the preprocessors are fit with fit(X), not fit(X,y). Looking at the code, this seems to be a fairly baked-in assumption in places. I think I'll make an attempt at refactoring preprocessors a bit. This interacts with the issue raised in #104 (in that fitting at test time won't be possible if we're calling fit(X,y).)
I'm trying to use the SelectKBest or SelectPercentile classes as preprocessors, but I'm finding that the preprocessors are fit with
fit(X)
, notfit(X,y)
. Looking at the code, this seems to be a fairly baked-in assumption in places. I think I'll make an attempt at refactoring preprocessors a bit. This interacts with the issue raised in #104 (in that fitting at test time won't be possible if we're callingfit(X,y)
.)