as_xgb_data: Transform data suitable for xgboost applications

Description Usage

View source: R/data-trafo-helpers.R

Description

Transform data suitable for xgboost applications

Usage

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, ...)

adibender/pem.xgb documentation built on Sept. 10, 2021, 7:24 p.m.