主页
Python
机器学习 - 决策树
demo_ml_dtree1
运行 ❯
×
更改方向
保存代码
更改主题
import pandas from sklearn import tree import pydotplus from sklearn.tree import DecisionTreeClassifier import matplotlib.pyplot as plt import matplotlib.image as pltimg df = pandas.read_csv("shows.csv") print(df)