我在Windows10上使用IPython來訓練並繪製出決策樹。我知道下面的代碼在linux上工作。我安裝了pydot,並且還有graphviz(正確指定了路徑)。 # Train and draw out a decision tree
from IPython import display
from sklearn import datasets, tree, utils
from s
以下dotfile正在創造一個巨大的輸出: digraph G {
"Bob"->"A" [label=" A very long label"]
"Bob"->"B" [label=" A very long label"]
"Bob"->"C" [label=" A very long label"]
"Bob"->"D" [label=" A very