parent
2fdb34ed2e
commit
63ffd2f686
@ -293,6 +293,9 @@ xgb.train <- function(params = list(), data, nrounds, watchlist = list(),
|
|||||||
}
|
}
|
||||||
# Sort the callbacks into categories
|
# Sort the callbacks into categories
|
||||||
cb <- categorize.callbacks(callbacks)
|
cb <- categorize.callbacks(callbacks)
|
||||||
|
if (!is.null(params[['seed']])) {
|
||||||
|
warning("xgb.train: `seed` is ignored in R package. Use `set.seed()` instead.")
|
||||||
|
}
|
||||||
|
|
||||||
# The tree updating process would need slightly different handling
|
# The tree updating process would need slightly different handling
|
||||||
is_update <- NVL(params[['process_type']], '.') == 'update'
|
is_update <- NVL(params[['process_type']], '.') == 'update'
|
||||||
|
|||||||
@ -349,7 +349,7 @@ Specify the learning task and the corresponding learning objective. The objectiv
|
|||||||
|
|
||||||
* ``seed`` [default=0]
|
* ``seed`` [default=0]
|
||||||
|
|
||||||
- Random number seed.
|
- Random number seed. This parameter is ignored in R package, use `set.seed()` instead.
|
||||||
|
|
||||||
***********************
|
***********************
|
||||||
Command Line Parameters
|
Command Line Parameters
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user