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

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


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.