Save a xgboost model to text file. Could be parsed later.
Usage
xgb.dump(model, fname, fmap = "")
Arguments
model
the model object.
fname
the name of the binary file.
fmap
feature map file representing the type of feature, to make it
look nice, run demo/demo.R for result and demo/featmap.txt for example
Format: https://github.com/tqchen/xgboost/wiki/Binary-Classification#dump-model