Fix typo in demo/regression/README.md
This commit is contained in:
parent
b684b5fada
commit
7ff704a13f
@ -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:
|
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
|
# 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
|
# when labels are in [0,1] we can also use reg:logistic
|
||||||
objective = reg:linear
|
objective = reg:linear
|
||||||
...
|
...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user