Marshalling of 'xgboost' objects

# S3 method for xgb.DMatrix
marshal(x, ...)

# S3 method for xgb.Booster
marshal(x, ...)

# S3 method for xgb.Booster
marshallable(...)

# S3 method for xgb.DMatrix
marshallable(...)

Arguments

x

An xgboost::xgb.DMatrix or an xgboost:xgb.Booster object.

...

Not used.

Value

A marshalled object as described in marshal().

Details

xgboost::xgb.DMatrix.save() is used to produce a marshalled version of the original object. xgboost::xgb.DMatrix() is used to reconstruct a version of the original object from the marshalled object.