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

Update xgboost LTR examples for 2.x #31747

Closed
jobergum opened this issue Jun 28, 2024 · 1 comment
Closed

Update xgboost LTR examples for 2.x #31747

jobergum opened this issue Jun 28, 2024 · 1 comment
Assignees
Milestone

Comments

@jobergum
Copy link

Apparently 2.x only allows integer labels

Check failed: label_is_integer: When using relevance degree as target, label must be either 0 or positive integer.
Stack trace:

Should add notebooks in sample apps under testing similar to what we do for pyvespa

https://github.com/vespa-engine/sample-apps/blob/master/commerce-product-ranking/notebooks/Train-xgboost.ipynb

@jobergum
Copy link
Author

Fixed in vespa-engine/sample-apps#1595

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

No branches or pull requests

2 participants