-
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
LightGBM run error when number of dimensions is more than 90 #93
Comments
This is very strange. Can you provide data? |
Hi @anddelu , that could because of memory was completely used up? could you please pasting the log here. |
hi, thanks for responsing: |
@chivee I think data of 63000*90 is very small, it cannot be out of memory. |
@anddelu I try to run: |
here are my parameters, based on examples, in the train.conf file: I used your method and find it work, howerever I use more datas to train model, it still shows error: Attached files: training datas & train.conf |
thanks for your response. I reduce number of dimensions less than 70 and found it could work again. |
@anddelu i still can run with your exe... |
you can try my exe as well. |
validation data is not the traning data. However I use the Second data(more than first) and config file, the lightgbm of both you and I can work well. I am very really confused. The data is the cause, because the First Data is part of Second Data ? |
It actually have one bug. Have fixed: 9235165 |
thanks very much! |
I have this issue. lightgbm freezes - the number of features in my dataset is more than 4000. Please help.. |
@msafi04 are you on the latest LightGBM ? |
Thanks for the response. def pred_lgbm(df, target): |
@guolinke I reduced the dimension to 2000 plus but still facing the issue..pls help |
It seems this is not likely to crash. |
I am not sure which is latest code..could you help me give the latest code. thanks |
thanks. can I install in anaconda? |
I updated to 2.1.1 but still it crashes.. |
I just update it to 2.1.2, can you try on it ? |
@guolinke Pls check my code below. thanks import pandas as pd def pred_lgbm(df, target): def main(): if name == 'main': |
@msafi04 Seems the code and data are OK - just run your snippet:
Not related to the issue, but there is no |
@StrikerRUS Thanks for the response. I ran the code but facing same issue. It appears my kernel is dead and restarts. pls check the screen shot |
can you try it wothout jupyter? |
@guolinke I got the below error. |
It seems your env has some issues with openmp. |
I installed gcc@8 but same error as above..OMP: Error |
@msafi04 refer to dmlc/xgboost#1715 |
@msafi04
if you has other gcc packages, please uninstall them as well. |
@guolinke I get this error now after your suggestion. ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/scipy/sparse/linalg/eigen/arpack/_arpack.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libgfortran.3.dylib |
Traceback (most recent call last): |
it seems you need to reinstall scipy numpy sklearn |
reinstalling didn't help. still facing the same error. pls help me. |
you can try to uninstall the anaconda, then re-install. |
@guolinke It worked!! Thanks for your patience and help. |
Environment: windows, number of datas: 6.3w
I have found one problem: the lightgbm to train data doesn't work when number of dimensions is more than 90. However the number of dimmension is less than 70, the lightgbm can train data and predict data.
I can provide datas if needed.
The text was updated successfully, but these errors were encountered: