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

[jvm-packages] support missing value when constructing dmatrix with iterator #10628

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

wbo4958
Copy link
Contributor

@wbo4958 wbo4958 commented Jul 23, 2024

No description provided.

@wbo4958
Copy link
Contributor Author

wbo4958 commented Jul 23, 2024

Hi @trivialfis, Could you help review it and merge it?

@wbo4958
Copy link
Contributor Author

wbo4958 commented Jul 23, 2024

Hi @hcho3, could you please help review it and merge it. thx very much

* The margin must have the same number of elements as the number of
* rows in this matrix.
*/
public void setBaseMargin(float[] baseMargin) throws XGBoostError {
Copy link
Member

Choose a reason for hiding this comment

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

Base margin can be a matrix for multi-class classification.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, That's true. the issue should have been there for days. This PR didn't mean to try to fix it. so let's just keep it here

@trivialfis trivialfis merged commit 7949a8d into dmlc:master Jul 23, 2024
32 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