dotnet / machinelearning

ML.NET is an open source and cross-platform machine learning framework for .NET.
https://dot.net/ml
MIT License
9.03k stars 1.89k forks source link

Provided label column 'Status' was of type Single, but only type Boolean is allowed. #4181

Closed crperez5 closed 5 years ago

crperez5 commented 5 years ago

Hi,

I'm using AutoML to auto-generate a model.

Input file looks like the following: "V1","V2","V3","V4","Status" -86,-66,-66,4,0 -84,-78,-61,65,0 ...

Output: For further learning check: https://aka.ms/mlnet-cli | Trainer Accuracy AUC AUPRC F1-score Duration #Iteration | [Source=AutoML, Kind=Trace] Channel started Exception occured while exploring pipelines: Provided label column 'Status' was of type Single, but only type Boolean is allowed. System.ArgumentException: Provided label column 'Status' was of type Single, but only type Boolean is allowed. at Microsoft.ML.CLI.CodeGenerator.CodeGenerationHelper.GenerateCode() at Microsoft.ML.CLI.Program.<>c__DisplayClass1_0.

b__0(NewCommandSettings options) Please see the log file for more info. Exiting ...

Is this a bug?

crperez5 commented 5 years ago

Something was wrong with my input file.