Hi, Not sure what you've done and what exactly you need, but for a "fast" solution, you probably need to dig into `sklearn/tree/_tree.pyx`.
Adrin/ On Mon, Aug 26, 2019 at 6:08 PM Surya D <surya.dheeshj...@gmail.com> wrote: > Hello! I am Surya, a student of the machine learning world. I am currently > working on a project to obtain the values of nodes that are parents of the > leaf nodes in the decision path of each tree. I have seen stack overflow > and have tried out the solutions but for my project, it is not fast enough. > Is there any other way I can access the “values” in these parent nodes? > > > Regards > Surya Dheeshjith > _______________________________________________ > scikit-learn mailing list > scikit-learn@python.org > https://mail.python.org/mailman/listinfo/scikit-learn >
_______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn