# encoding=utf-8 from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score from sklearn.tree import DecisionTreeClassifier from sklearn.datasets import load_iris import graphviz from sklearn import tree import os os.environ["PATH"] += os.pathsep + 'C:\\Users\\qincf\\AppData\\Local\\Continuum\\anaconda3\Library\\bin\\graphviz'
# encoding=utf-8 from sklearn.model_selection import train_test_split from sklearn.metrics import mean_squared_error,mean_absolute_error
from sklearn.treeimport DecisionTreeRegressor from sklearn.datasets import load_boston import graphviz from sklearn importtree import os os.environ["PATH"] += os.pathsep + 'C:\\Users\\qincf\\AppData\\Local\\Continuum\\anaconda3\Library\\bin\\graphviz'