Hello everyone. Please tell me how I can find out what examples from the training set are defined in a specific node of a tree? I need this to get a probability distribution. For example I have 3 types of classes, and I took a tree out of the forest someTree = rtree-> get_tree (i); If I use indResult = someTree-> predict (test_sample, Mat ()) -> value; then get the value that gave the evaluation function, but I need to get out of the desired node probability distribution (class 0: 0.5, Class 1: 0.25, Class 2 : 0.25) P.S sorry for my bad english :)