Merge pull request #722 from yenchenlin1994/fix-demo-regression-typo

Fix typo in demo/regression/README.md
This commit is contained in:
Yuan (Terry) Tang 2016-01-05 09:56:18 -06:00
commit 063bebe7d3

View File

@ -6,7 +6,7 @@ Using XGBoost for regression is very similar to using it for binary classificati
The dataset we used is the [computer hardware dataset from UCI repository](https://archive.ics.uci.edu/ml/datasets/Computer+Hardware). The demo for regression is almost the same as the [binary classification demo](../binary_classification), except a little difference in general parameter:
```
# General parameter
# this is the only difference with classification, use reg:linear to do linear classification
# this is the only difference with classification, use reg:linear to do linear regression
# when labels are in [0,1] we can also use reg:logistic
objective = reg:linear
...