Add docs fro update_seq (#1735)

* Fix typos and messages in docs

* parameter.md: Add docs for updater_seq

Mention the updater_seq parameter which sets the order of the tree
updaters to run and also specifies which ones to run. This can be
useful when pruning is not required or even a custom plugin is
being built along with xgboost.
This commit is contained in:
AbdealiJK
2016-11-05 04:37:29 +05:30
committed by Tianqi Chen
parent b94fcab4dc
commit 52b9867be5
2 changed files with 6 additions and 2 deletions

View File

@@ -3,7 +3,9 @@ XGBoost4J Java API
This tutorial introduces
## Data Interface
Like the xgboost python module, xgboost4j use ```DMatrix``` to handle data, libsvm txt format file, sparse matrix in CSR/CSC format, and dense matrix is supported.
Like the xgboost python module, xgboost4j uses ```DMatrix``` to handle data,
libsvm txt format file, sparse matrix in CSR/CSC format, and dense matrix is
supported.
* To import ```DMatrix``` :
```java
@@ -97,7 +99,7 @@ import org.dmlc.xgboost4j.util.Trainer;
```java
DMatrix trainMat = new DMatrix("train.svm.txt");
DMatrix validMat = new DMatrix("valid.svm.txt");
//specifiy a watchList to see the performance
//specify a watchList to see the performance
//any Iterable<Entry<String, DMatrix>> object could be used as watchList
List<Entry<String, DMatrix>> watchs = new ArrayList<>();
watchs.add(new SimpleEntry<>("train", trainMat));