How to get record count/class distribution for every tree node in Spark MLlib Random Forest?

Viewed 702

I am doing a two-class classification using Random Forest in Spark 1.5.0 MLlib. I want to get the count of records for each class in every tree node. Is there a way to do this? Thank you very much for your help!

2 Answers
Related