Hi everyone,

Given an instance (x_1,x_2,...,x_n), I want to know what about it that make the 
decision tree belong to certain class, ie: x_1 < a, x_3> b,..... => x is of 
class C.

I notice that .apply can return the id of the leaf node that the instance falls 
in, but can I get the path from the root node down to this leaf node?

Any idea?

-
Caleb
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to