diff --git a/demo/regression/machine.conf b/demo/regression/machine.conf index 5142bcbcf..f5a5163a8 100644 --- a/demo/regression/machine.conf +++ b/demo/regression/machine.conf @@ -1,6 +1,6 @@ # General Parameters, see comment for each definition -# choose the tree booster, 0: tree, 1: linear -booster_type = 0 +# choose the tree booster, can also change to gblinear +booster = gbtree # this is the only difference with classification, use reg:linear to do linear classification # when labels are in [0,1] we can also use reg:logistic objective = reg:linear