Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

marshal: Add support for XGBoost #252

Conversation

dpoulopoulos
Copy link
Member

This commit adds support for serializing XGBoost DMatrix and Booster objects.
DMatrix is an internal data structure, which is optimized for both memory
efficiency and training speed. It is not pickle-able so we should use its
own method. On the other hand, Booster, which is an XGBoost
model is pickle-able, but it's better to use its native method.
Similarly, we can use the corresponding load methods to load a DMatrix or
Booster object.

Signed-off-by: Dimitris Poulopoulos [email protected]

@dpoulopoulos dpoulopoulos added the enhancement New feature or request label Oct 30, 2020
@dpoulopoulos dpoulopoulos self-assigned this Oct 30, 2020
This commit adds support for serializing XGBoost DMatrix and Booster objects.
DMatrix is an internal data structure, which is optimized for both memory
efficiency and training speed. It is not pickle-able so we should use its
own  method. On the other hand, Booster, which is an XGBoost
model is pickle-able, but it's better to use its native method.
Similarly, we can use the corresponding load methods to load a DMatrix or
Booster object.

Signed-off-by: Dimitris Poulopoulos <[email protected]>
Reviewed-by: Stefano Fioravanzo <[email protected]>
@StefanoFioravanzo StefanoFioravanzo merged commit 44019fc into kubeflow-kale:master Nov 4, 2020
@StefanoFioravanzo StefanoFioravanzo deleted the feature-dimpo-xgboost-marshal branch November 4, 2020 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants