ArdalanM/pyLightGBM

file format issues

Closed this issue · 3 comments

sometimes I get
input format error, should be LibSVMinput format error, should be LibSVM but have no real clue how to debug it. Do you have any suggestions?

The strange thing is that the training worked just fine:

[LightGBM] [Info] 3.972398 seconds elapsed, finished 59 iteration
[LightGBM] [Info] 4.042168 seconds elapsed, finished 60 iteration
[LightGBM] [Info] Finish train

The problem occurs when I try to predict new values.

I can reproduce it with the latest build of lightgbm and the notebook from https://github.com/ArdalanM/pyLightGBM/blob/master/notebooks/regression_example_kaggle_allstate.ipynb

Having the same issue.
I think libSVM format handling has been updated by LightGBM.
Opened an issue: microsoft/LightGBM#54

Hope they fix it quickly.
Thanks for the feedback 👍

I can confirm that their latest changes fix the problem.