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

[R] Enable multi-output objectives #9839

Merged
merged 2 commits into from Dec 5, 2023
Merged

Conversation

david-cortes
Copy link
Contributor

@david-cortes david-cortes commented Dec 3, 2023

ref #9810

This PR enables multi-column features in DMatrix, thereby allowing multi-output objectives.

Note that it switches some of the earlier code that was there to use the recently introduced helpers to create array interface strings from R objects, so as to avoid unnecessary memory copies and support integer data types.

@david-cortes
Copy link
Contributor Author

david-cortes commented Dec 3, 2023

Note to maintainers: there's one thing I haven't been able to figure out yet.

When using a custom multi-output objective, the base score seems to be forced at 0.5, while in the python interface it seems to be able to estimate a better number according to the data and objective.

Nevertheless, even in the python interface, these numbers do not look like they are what they say: #9840

Copy link
Member

@trivialfis trivialfis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the work on multi-output!

@trivialfis
Copy link
Member

Let me look into the issue.

@trivialfis trivialfis merged commit 62571b7 into dmlc:master Dec 5, 2023
24 of 26 checks passed
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.

None yet

2 participants