How to visualize random forest plot using graphviz, in characters outside of UTF-8 (Chinese)
I am doing a random forest model on PC orders data, which is mostly in Chinese. I have done the model and accuracy checks. However, I can’t seem to generate the image due to a UnicodeEncodeError, which most likely is because of the Chinese characters contained in the dataset. I have tried StringIO and BytesIO, but nothing seems to work.