Closed
Description
I have tried creating a simple data and performing the training like so
dotnet .\mlnet.dll auto-train --task binary-classification
--dataset "logons.csv" --label-column-index 0
--has-header true --max-exploration-time 10
Here is an example of the data set which is reduced from my original, but shows the format:
Valid Data
0 09:00
0 09:01
0 09:02
0 09:03
0 09:04
0 09:05
0 09:06
0 09:07
1 12:08
0 09:09
0 09:10
0 09:00
0 09:01
0 09:02
0 09:03
0 09:04
0 09:05
0 09:06
0 09:07
1 13:08
0 09:09
0 09:10
0 09:00
0 09:01
0 09:02
0 09:03
0 09:04
0 09:05
0 09:06
0 09:07
1 14:08
0 09:09
0 09:10
Every time I try and run the command I get the following error:
Exception occured while exploring pipelines:
Training failed with the exception:
System.ArgumentOutOfRangeException: AUC is not definied
when there is no positive class in the data
Parameter name: PosSample
I originally tried it via VS2019 and the latest version of ML.Net, but that failed, so I tried it using the binary directly