Skip to content

Conversation

@AsherWright
Copy link

@AsherWright AsherWright commented Nov 17, 2025

Overview

This PR aims to add support for xgboost 3, closing #732.

The issue is that xbgoost has a different base_score format, returning a string array instead of a string float.

As well, it is no longer sufficient to simply use the same base score for all classes, as xgboost 3 now returns different base scores. So this PR uses all base scores provided by xgboost.

I'll note that this PR does not add support for categorical variables in xgboost 3. onnxmltools assumes split_condition will be a single float value, which isn't the case for categorical variables. Solving this problem is more involved.

Signed-off-by: Asher Wright <asherw@squareup.com>
@casassg
Copy link
Contributor

casassg commented Nov 18, 2025

@xadupre hi, wondering if we could try to add this (let us know if there is a better owner who may be able to review this)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants