knnFeat icon indicating copy to clipboard operation
knnFeat copied to clipboard

how to make test feature by using this?

Open abebe9849 opened this issue 4 years ago • 0 comments

Thanks for publishing a great blog and implementation!

I understand that the following implementation will create a new feature for train data.

from knnFeat import knnExtract
newX = knnExtract(X, y, k = 1, folds = 5)

But how do I create a feature that corresponds to the test data? I would be grateful if you could reply.

abebe9849 avatar Mar 04 '22 12:03 abebe9849