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] add jni for setting feature name and type #7966

Merged
merged 1 commit into from
Jun 3, 2022

Conversation

wbo4958
Copy link
Contributor

@wbo4958 wbo4958 commented Jun 2, 2022

This PR adds jni APIs for XGDMatrixGetStrFeatureInfo and XGDMatrixSetStrFeatureInfo to set/get feature information including feature_name and feature_type which will be typically used in categorical feature supporting. I will file a followup to support categorical feature in jvm-packages.

@wbo4958
Copy link
Contributor Author

wbo4958 commented Jun 2, 2022

@trivialfis please help to review it

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