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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user