EL之GB(GBR):利用GBR对回归问题(实数值评分预测)建模
目录
输出结果


![]()
设计思路

核心代码
wineGBMModel = ensemble.GradientBoostingRegressor(n_estimators=nEst,
max_depth=depth,
learning_rate=learnRate,
subsample = subSamp,
loss='ls')
wineGBMModel.fit(xTrain, yTrain)
msError = []
predictions = wineGBMModel.staged_predict(xTest)
更多文章请关注《万象专栏》
转载请注明出处:https://www.wanxiangsucai.com/read/cv16523