Remove remaining reg:linear. (#4544)

This commit is contained in:
Jiaming Yuan
2019-06-11 16:04:09 +08:00
committed by GitHub
parent 4e9965cb9d
commit 4591039eba
3 changed files with 10 additions and 9 deletions

View File

@@ -108,7 +108,7 @@ struct ObjFunctionReg
*
* \code
* // example of registering a objective
* XGBOOST_REGISTER_OBJECTIVE(LinearRegression, "reg:linear")
* XGBOOST_REGISTER_OBJECTIVE(LinearRegression, "reg:squarederror")
* .describe("Linear regression objective")
* .set_body([]() {
* return new RegLossObj(LossType::kLinearSquare);