After training an XGBoost model in R, I am presented with a model object called xgb
which is a list of 7
.
When I save the model using xgb.save
and then reload using xgb.load
, I am presented with what seems to be a 'smaller' model object which is a list of 2
.
Obviously I can't share the code as you would need the training data which is massive, so all I can really show is a picture of the variable editor.
Below is model object xgb
which is the original model after training, vs. the model object test1
which is the same model but saved and reloaded:
Why does this happen and am I losing valuable information upon saving/loading my models?
Any help is appreciated.