Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

issue ValueError exception when header=False and label_column is not an int #262

Open
jfomhover opened this issue May 20, 2022 · 0 comments
Labels

Comments

@jfomhover
Copy link
Contributor

When header=False, the value in label_column should always be an int, not a str (ex: name:Label). This will cause lightgbm train to fail with an exception Could not find label column X in data file.

Instead, we could catch these kind of invalid parameter and provide clarity on the exception in the python preceeding the lightgbm train call.

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

No branches or pull requests

1 participant