title: is there any way to get samples under each leaf of a decision tree?
body: <p>I have trained a decision tree using a dataset. Now I want to see which samples fall under which leaf of the tree. </p>
  
  <p>From here I want the red circled samples.</p>
  
  <p><a href="https://i.stack.imgur.com/DYhwf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DYhwf.png" alt="enter image description here"></a></p>
  
  <p>I am using Python's Sklearn's implementation of decision tree .  </p>