Skip to content

LightGbmMulti System.ArgumentOutOfRangeException: Schema mismatch for label column '': expected Bool, got Key<U4> #2534

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

Closed
Dmitry-A opened this issue Feb 13, 2019 · 2 comments · Fixed by #2476
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Dmitry-A
Copy link
Contributor

running with 0.10 bits, started getting this error on certain datasets when benchmarking AutoML (not 100% positive but likely this started happening when we upgraded to 0.10):

Processing pipeline ColumnCopying{ col=Label:0} xf=ValueToKeyMapping{ col=Label:Label} tr=LightGbmMulti{}.
LightGbmMulti{} Crashed System.ArgumentOutOfRangeException: Schema mismatch for label column '': expected Bool, got Key
Parameter name: labelCol
at Microsoft.ML.Training.TrainerEstimatorBase2.CheckLabelCompatible(Column labelCol) at Microsoft.ML.Training.TrainerEstimatorBase2.CheckInputSchema(SchemaShape inputSchema)
at Microsoft.ML.Training.TrainerEstimatorBase2.GetOutputSchema(SchemaShape inputSchema) at Microsoft.ML.Data.EstimatorChain1.GetOutputSchema(SchemaShape inputSchema)
at Microsoft.ML.Data.EstimatorChain1.Fit(IDataView input) at Microsoft.ML.Auto.SuggestedPipeline.Fit(IDataView trainData) at Microsoft.ML.Auto.AutoFitter1.ProcessPipeline(SuggestedPipeline pipeline)

Note that we're adding ValueToKeyMapping to our pipelines to get around #1969

@Ivanidzo4ka
Copy link
Contributor

Should be fixed in #2476

@Ivanidzo4ka Ivanidzo4ka added the bug Something isn't working label Feb 13, 2019
@shauheen shauheen added this to the 0219 milestone Feb 14, 2019
@Ivanidzo4ka
Copy link
Contributor

Actually got fixed in #2448

@ghost ghost locked as resolved and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants