lambdarank prediction error
Running the lambdarank example, training finished.
When run "LightGBM config=predict.conf
gives error
"[LightGBM Error] input format error, should be LibSVM"
Thanks. I cannot debug it for my laptop is broken now. Can you help to test that other examples work or not? Thanks
@fengqifang , thanks for your feedback.
the test data indeed has label which cannot be ignore by the IO reader.
you can add `data_has_label = true' in your predict.conf.
@chivee I think it will be better if we can auto set data_has_label according to the input model and data file. I will add this soon.
@guolinke, sure, adding an try logic for parser will fix this problem
fixed, the parameters "data_has_label" is not need any more.
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.