NOTE: to use the pydot module to plot the decision trees, you may have to move to an older version of pyparsing. pip uninstall pydot pip install pyparsing==1.5.7 pip install pydot