dmlc / dmlc/xgboost

Load XGBoost model made in Python to spark

Open
#11,400 4 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
C++
Stars
28.8k
Forks
8.9k
Avg merge
1d 12h
Merged PRs (30d)
54

Description

I got a xgboost model made in python (xgb_model.json) and I need to load it to Spark and on Scala too. When I try to do it it searches for /metadata in the path. What do I do?

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by reproducing the load attempt with xgb_model.json in Spark and Scala, recording where the /metadata lookup occurs. Check whether the Spark/Scala loader supports a Python-produced XGBoost model in this format; done means the supported loading or conversion path is identified and the model loads without the missing-metadata error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, scala, spark
Domain
distributed-systems, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.