Skip to content
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

help with errors #19

Closed
mikemanyoung opened this issue Jun 12, 2020 · 3 comments
Closed

help with errors #19

mikemanyoung opened this issue Jun 12, 2020 · 3 comments

Comments

@mikemanyoung
Copy link

I've followed the simple boiler plate for creating and training a model, and I keep getting this error message -- have some hints on what this means so I can debug?

[LightGBM] [Fatal] The number of features in data (59) is not the same as it was in training data (103).

I've verified that each item in my data has the same number of features, so not sure what this means. It seems that this message is coming from a linked lib call, so couldn't get into the code:

https://github.com/ankane/lightgbm/blob/master/lib/lightgbm/booster.rb#L139

@ankane
Copy link
Owner

ankane commented Jun 12, 2020

Hey @mikemanyoung, can you share the issue and fix in case others run into this error?

@mikemanyoung
Copy link
Author

@ankane I wasn't able to get this error again. Do you know what this error means, however?

@ankane
Copy link
Owner

ankane commented Jun 17, 2020

Haven't seen that one before, but there's a chance the fix for #20 addresses it (there was an issue with how text features were computed for the validation set).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants