title: Where does scikit-learn hold the decision labels of each leaf node in its tree structure?
body: <p>I have trained a random forest model using scikit-learn and now I want to save its tree structures in a text file so I can use it elsewhere.
  According to <a href="http://scikit-learn.org/stable/auto_examples/tree/plot_unveil_tree_structure.html#" rel="noreferrer">this link</a> a tree object consist of a number of parallel arrays each one hold some information about different nodes of the tree (ex. left child, right child, what feature it examines,...) . However there seems to be no information about the class label corresponding to each leaf node! It's even not mentioned in the examples provided in the link above.</p>
  
  <p>Does anyone know where are the class labels stored in the scikit-learn decision tree structure?</p>