LightGBM icon indicating copy to clipboard operation
LightGBM copied to clipboard

what format shoud be when data has missing value?

Open poplarytics opened this issue 10 years ago • 3 comments

Tried to repeat the example using my own data.

There are missing values in the data, with default value 'NA', the LightGBM gave error message.

( No luck after replaces as 'nan')

"[LightGBM] finished load parameters [LightGBM Error] meet error while parsing string to float, expect a nan here"

poplarytics avatar Oct 19 '16 16:10 poplarytics

I just have an new commit. you can use NA(na) and NaN(nan) now.

guolinke avatar Oct 19 '16 16:10 guolinke

If you still meet errors, please feel free to reopen this issue.

guolinke avatar Oct 20 '16 00:10 guolinke

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.

github-actions[bot] avatar Aug 24 '23 04:08 github-actions[bot]