sklearn中決策樹的繪製 不用graphviz庫

from sklearn.datasets import load_iris from sklearn import tree X, y = load_iris(return_X_y=True) clf = tree.DecisionTreeClassifier() clf = clf.fit(X, y) tree.plot_tree(feature_names=feature_names , c
相關文章
相關標籤/搜索