# Xgboost error: ValueError: Unable to parse node: 0:\[

**URL:** <https://root-forum.cern.ch/t/xgboost-error-valueerror-unable-to-parse-node-0/34598>\
**Category:** TMVA\
**Tags:** graphics\
**Created:** [June 14, 2019, 7:03am UTC](https://root-forum.cern.ch/t/xgboost-error-valueerror-unable-to-parse-node-0/34598 "2019-06-14T07:03:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sciencetruth991](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/sciencetruth991/32/18427_2.png) [@sciencetruth991](https://root-forum.cern.ch/u/sciencetruth991)\
**Post date:** [June 14, 2019, 7:03am UTC](https://root-forum.cern.ch/t/xgboost-error-valueerror-unable-to-parse-node-0/34598/1 "2019-06-14T07:03:13Z")

</div>

when I use xgboost plot the decision tree, I encounter an error: Unable to parse node. please help me fix the problem, thanks.

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/0/5/057e3c8618fce1d5397142a7897e6e442e04938b.png)

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/0/7/07283ac78506b253f0776e92a40de21871384772.png)

---

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [June 14, 2019, 10:19am UTC](https://root-forum.cern.ch/t/xgboost-error-valueerror-unable-to-parse-node-0/34598/2 "2019-06-14T10:19:56Z")

</div>

Hi,

Nothing in your code seems to be related to TMVA or ROOT and the problem seems to stem from xgboost. As such I suggest you turn to the xgboost support community (maybe at their github?).

It also seems you are running the code as a jupyter notebook. As such looking for support with the jupyter community could also help you.

This forum is for ROOT related questions.

That said, the problem _could_ be that jupyter notebooks do not support displaying graphviz images out of the box (speculation on my part). You could try running this on your local machine and see if you get the output you expect.

Cheers,  
Kim
