View source: R/data-trafo-helpers.R
Transform data suitable for xgboost applications
1 2 3 4 5 6 7 | as_xgb_data(x, ...)
## S3 method for class 'data.frame'
as_xgb_data(x, features, label, set_margin = TRUE, ...)
## S3 method for class 'ped'
as_xgb_data(x, set_margin = TRUE, ...)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.