from sklearn import tree
错误:AttributeError: type object ‘sklearn.tree._tree.TreeBuilder’ has no attribute ‘reduce_cython’
尝试更新sklearn,发现问题解决
打开 anaconda prompt
conda update scikit-learn
参考文献
1、anaconda升级sklearn版本
2、AttributeError: type object ‘sklearn.tree._tree.TreeBuilder’ has no attribute ‘reduce_cython’