title: How to get access of individual trees of a xgboost model in python /R
body: <p>How to get access of individual trees of a <code>xgboost</code> model in python/R ?</p>
  <p>Below I'm getting from Random Forest trees from <code>sklearn</code>.</p>
  <pre><code>estimator = RandomForestRegressor(
      oob_score=True, 
      n_estimators=10, 
      max_features='auto'
  ) 
  estimator.fit(tarning_data,traning_target) 
  tree1 = estimator.estimators_[0]
  leftChild = tree1.tree_.children_left  
  rightChild = tree1.tree_.children_right 
  </code></pre>