Policy Information
成功解决AttributeError: 'GradientBoostingRegressor' object has no attribute 'staged_decision_function'
AttributeError: 'GradientBoostingRegressor' object has no attribute 'staged_decision_function'
python库的版本问题,因为库函数的升级,导致原先方法的调用名称改变!
改为以下即可!
ensemble.GradientBoostingRegressor._staged_decision_function(self, X)
大功告成!
评论