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] Rename ProxyDMatrix -> DataBatch #10016

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

david-cortes
Copy link
Contributor

ref #9810

As a follow up from #9913

I had second thoughts on the naming using internally and externally.

Currently, the DataIter callback needs to return a ProxyDMatrix, and internally, it uses a ProxyDMatrixHandle, which is quite unintuitive.

This PR renames them so that the object that needs to be passed to the iterator is now DataBatch, and the internal object (which is not exposed to the user) is named ProxyDMatrix.

Along the way, it fixes some tests to not accept function arguments that were removed during internal changes in the previous PR.

@trivialfis
Copy link
Member

The change makes sense. Please help rebase the PR.

@david-cortes
Copy link
Contributor Author

The change makes sense. Please help rebase the PR.

This is very odd. I don't get any merge conflict when merging the latest master.

@trivialfis trivialfis merged commit 0955213 into dmlc:master Jan 31, 2024
23 of 27 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.

2 participants