Finding a corresponding leaf node for each data point in a decision tree

Post date: May 26, 2015 1:42:31 AM

Recently I found the hint from the scikit-learn mailing list, and after getting it to work I posted the solution in StackOverflow.

http://stackoverflow.com/questions/30408046/finding-a-corresponding-leaf-node-for-each-data-point-in-a-decision-tree-scikit/30442810#30442810

Here are the list of email corresponding between I and the mailing list:

http://sourceforge.net/p/scikit-learn/mailman/message/34139080/

http://sourceforge.net/p/scikit-learn/mailman/message/34142035/

credits: I would like to thank Gilles Louppe for the suggestion on this problem.