Marshalling of 'xgboost' objects

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

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

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

# S3 method for class '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.