-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Feature] Python Bindings for LightGBM #11
Comments
I think this should be a great step forward with adoption, of course it should be also pretty easy to install and use.
|
Agree with ParadoxShmaradox. And for me earlystopping would be a great feature to have. |
@ParadoxShmaradox @yychenca , we can break its procedure into two several phrases: 1. python bindings. 2 scikit-learn(or other popular framework) interface. As for model (de)serialization, cross validation, and early stopping seems to be another popular features we should move on. I'll open issues for this features. |
Want to add, that something like xgboosts |
I think we need a way to create the LightGBM binary format directly from a NumPy array instead of having to do an expensive write&read to CSV/SVMLight. For really big datasets (eg. Kaggle Bosch Competition) it can take an hour to read and write CSVs, so something like this (functionality similar to xgboost.DMatrix()) would be excellent. |
I think user-define loss and eval function is also important |
@chivee Thank you chivee. I had a chance to try LightGBM with a dataset of 180k rows and 30 features for a regression problem. The training completed in 8 seconds as compared to 52 secs by XGBoost using comparable parameters, 63 leaves vs 8 depths. And the accuracy of LIghtGBM (L1/MAE ) was even a bit better. Truly impressed!! Noticed that early stopping has already been added and I'll probably give it another try soon. Anyways, great job! |
A quick wrapper for LightGBM: https://github.com/ArdalanM/pyLightGBM |
@ArdalanM , thank you ardalanM , that will be very helpful! |
Hi guys, a simple Python binding using Ctype can be found at Any feedback to the bindings will be great. |
Existing python binding is great, but I would love to be able to replace existing algorithms in the pipeline and most likely they have scikit-learn interface. At least on the level of:
|
refer to #94. |
Hi, All, the branch of python-package is merged, refer to https://github.com/Microsoft/LightGBM/tree/master/python-package |
Hi all, we have tentative plan on extending LightGBM to python users. please share us your opinions.
The text was updated successfully, but these errors were encountered: