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

Accelerated Multi-output Xgboost shows wrong results. #1439

Open
lk1983823 opened this issue Sep 5, 2023 · 2 comments
Open

Accelerated Multi-output Xgboost shows wrong results. #1439

lk1983823 opened this issue Sep 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@lk1983823
Copy link

I am training a xgboost model with multiple inputs and outputs. The output feature_dim of the model is 11. Then I use d4p to accelerate the trained model to improve inference performance. Here is my code below:

daal_model = d4p.get_gbt_model_from_xgboost(xgbmodel.get_booster())
daal_prediction = d4p.gbt_regression_prediction().compute(test_x, daal_model)
logits = daal_prediction.prediction

But when I print the logits, I find the its output shape is (272303, 1). The outputs has only 1 feature_num, and the result is also wrong.
Thanks for the help.

Environment:

  • OS: [e.g. Ubuntu 18.04]
  • Compiler: [e.g. GCC9.2]
  • Version: [e.g. 2019 Update 4]
@lk1983823 lk1983823 added the bug Something isn't working label Sep 5, 2023
@lk1983823 lk1983823 changed the title Multi-output Xgboost show wrong results. Accelerated Multi-output Xgboost show wrong results. Sep 5, 2023
@lk1983823 lk1983823 changed the title Accelerated Multi-output Xgboost show wrong results. Accelerated Multi-output Xgboost shows wrong results. Sep 5, 2023
@napetrov
Copy link
Contributor

napetrov commented Sep 5, 2023

@lk1983823 thanks for report.

In short - multioutput is not supported

Will hold this issue opened for tracking documentation update and model builders update to warn on not supported multioutput models

@napetrov
Copy link
Contributor

napetrov commented Sep 8, 2023

#1445 - documentation update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants