Hi,
I'm trying to use Recursive Feature Elimination to a data set ( it's a very
large matrix after performing one hot encoding).
suppose One Hot encoded matrix is " X  "  (We have targets in y)
rfe = RFE(some parameters)
rfe.fit(X,y)

After this I can get indices of selected features by rankings_  (or mask by
support_)

I want to know what are the values we get buy above when One hot encoded
matrix is considered (as it is a binary sparse matrix). The indices I get
from rankings_ (where ranking is 1 or mask is true) don't make any sense
when One hot encoded data is matrix is considered.
Can someone explain how to solve this?
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to