-
Notifications
You must be signed in to change notification settings - Fork 4
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
Missing feature_name method #4
Comments
Hey @jsuchal, thanks for reporting! Added in the commit above. This was very similar to the |
Hey @ankane ! Just want let you know that it is possible to not be limited with 255-length (or any other value) buffer size. It is possible to achieve by repeating the call of C API function in case of returned value in Please refer to microsoft/LightGBM#4293. |
Thanks @StrikerRUS! Fixed in b5b3e19 (and fixed |
We are using this library, but seems like when we load model from file we cannot access the feature names.
In our setup we have a features repository that loads actual data for a model based on feature names, so we have to store the feature names elsewhere. However looking into https://lightgbm.readthedocs.io/en/latest/pythonapi/lightgbm.Booster.html#lightgbm.Booster.feature_name and the saved model file, the feature names are already stored in the model, we are probably only missing a wrapper for native method.
I am not very familiar with FFI so if you have any pointers how to add this I am willing to do a PR on this.
Awesome work on this library wrapper so far!
The text was updated successfully, but these errors were encountered: