-
Notifications
You must be signed in to change notification settings - Fork 30
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
FBM compatibility with LightGBM #68
Comments
I mean, if it is as easy as that, why not. |
Any update on this? |
Any update on this? |
I'm sorry, I guess we can close this for now. As long as there is no support on the LightGBM side, there's no need for a |
Thanks for following up. Just to make sure: it is on their side that some work needs to be done? Not on my side? |
Yeah, so from what I remember, for this to work out, both a function for getting a pointer to the data as |
I'm trying to use an
FBM
matrix for training a LightGBM model (could probably also be done for xgboost in similar fashion). For this I think it's easiest (for dependencies sake) to pass a pointer to start of the data via R as an external pointer. I hacked something together:https://github.com/nbenn/bigstatsr/blob/b668f2fdcfafbf1d280250bca9ca0cabaa88a855/src/FBM-xptr.cpp#L27-L35
How do you feel about this?
See also microsoft/LightGBM#2184.
The text was updated successfully, but these errors were encountered: