错误记录:Cannot clone object. You should provide an instance of scikit-learn estimator instead of
jupyter提示了错误:TypeError: Cannot clone object. You should provide an instance of scikit-learn estimator instead of a class.翻译过来的意思是:无法克隆对象。您应该提供一个scikit learn estimator的实例,而不是类。检查代码发现问题出现在:我在调用过程中是这样写的:注意:models[‘DTR’]=DecisionTreeRegressor 这行,发现忘记了写括