Not showing the tree
http://localhost:8888/notebooks/5)%20Machine%20Learning/11)%20Decision%20Trees%20and%20Random%20Forests/Untitled1.ipynb
Decision tree and random forest
http://localhost:8888/notebooks/5)%20Machine%20Learning/11)%20Decision%20Trees%20and%20Random%20Forests/Untitled1.ipynb
hey @abhi_fame ,
kindly upload your code on github and share that link.
and also check that your graphviz module is working and installed correctly.
check the errors in the last
https://github.com/thisisabhijat/Machine-Learning/blob/main/9)%20Decision%20Tree%20and%20Random%20Forests/Untitled1.ipynb
hey @abhi_fame ,
firstly ,
change
from sklearn.externals.six import StringIO
to
from six import StringIO
and run the codes again.
Before going to next error , first clear the before one.
Now last part is not running
https://github.com/thisisabhijat/Machine-Learning/blob/main/9)%20Decision%20Tree%20and%20Random%20Forests/Untitled1.ipynb
hey @abhi_fame ,
graphviz is not installed properly.
Its path is not added in environmental paths. Do that and it will work.
there might be file named like graphviz.exe , just add that to path.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.