Skip to content

ML.NET Builder Get Started sample throw excepion when Train time longer than 60 sec #238

Closed
@magnusseptim

Description

@magnusseptim

System Information

  • Model Builder Version: Latest
  • Visual Studio Version : VS 2019 Community 16.2.5

Bug description
Model Builder Get Started, on step :
https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/train
using wikipedia-detox-250-line-data.tsv, when train time is longer or equal than 60 sec,
output shows :

Exception occured while exploring pipelines:
must be in range [0, 0.5)
Parameter name: L2Regularization
System.ArgumentOutOfRangeException: must be in range [0, 0.5)
Parameter name: L2Regularization
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 ...

Last tested algorithm visible in output is :

|9 SgdCalibratedBinary 0,7317 0,8104 0,9053 0,7925 1,4 0 |

Steps to Reproduce

  1. Right click on project -> Add -> Machine Learning
  2. Follow Get Started from : https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/intro until "Train your model"
  3. In "Time to train (seconds)" textbox set >= 60
  4. Wait until output shows error

Expected behavior
Same as you train it shorter, no errors but starting next step

Screenshots
obraz

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions