0
dot_data = StringIO()  
tree.export_graphviz(clf, out_file=dot_data,  
                         feature_names=features)  
graph = pydotplus.graph_from_dot_data(dot_data.getvalue())  
Image(graph.create_png())

I am trying to make a decision tree, but i am having an of no module named sklearn.sixternal.six

  • 1
    related: https://stackoverflow.com/questions/61901365/modulenotfounderror-no-module-named-sklearn-externals-six, https://stackoverflow.com/a/62354885 – Lodinn Jan 03 '23 at 08:10

0 Answers0