fixed some typos (#1814)

This commit is contained in:
Dr. Kashif Rasul
2016-11-25 22:34:57 +01:00
committed by Yuan (Terry) Tang
parent be2f28ec08
commit da2556f58a
14 changed files with 32 additions and 38 deletions

View File

@@ -1,22 +1,21 @@
Learning to rank
====
XGBoost supports accomplishing ranking tasks. In ranking scenario, data are often grouped and we need the [group information file](../../doc/input_format.md#group-input-format) to specify ranking tasks. The model used in XGBoost for ranking is the LambdaRank, this function is not yet completed. Currently, we provide pairwise rank.
XGBoost supports accomplishing ranking tasks. In ranking scenario, data are often grouped and we need the [group information file](../../doc/input_format.md#group-input-format) to specify ranking tasks. The model used in XGBoost for ranking is the LambdaRank, this function is not yet completed. Currently, we provide pairwise rank.
### Parameters
The configuration setting is similar to the regression and binary classification setting,except user need to specify the objectives:
The configuration setting is similar to the regression and binary classification setting, except user need to specify the objectives:
```
...
objective="rank:pairwise"
...
```
For more usage details please refer to the [binary classification demo](../binary_classification),
For more usage details please refer to the [binary classification demo](../binary_classification),
Instructions
====
The dataset for ranking demo is from LETOR04 MQ2008 fold1,
The dataset for ranking demo is from LETOR04 MQ2008 fold1,
You can use the following command to run the example
Get the data: ./wgetdata.sh
Run the example: ./runexp.sh