dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
267 stars 56 forks source link

Data classification: The generated Console App and Web API projects are running failed when using metric "Log-Loss Reduction" and "L-BFGS & Fast Tree" trainer. #2971

Open v-Hailishi opened 2 months ago

v-Hailishi commented 2 months ago

System Information (please complete the following information): Windows OS: Windows-11-Enterprise-23H2 ML.Net Model Builder 2022: 17.18.4.2445901 (Main Build) Microsoft Visual Studio Enterprise: 2022(17.11.2) .Net: 8.0

Describe the bug

TestMatrix https://testpass.blob.core.windows.net/test-pass-data/wikipedia-detox-250-line-data.tsv

To Reproduce Steps to reproduce the behavior:

  1. Open Visual Studio app.
  2. Select Create a new project from the Visual Studio start window.
  3. Choose the C# Console App (.NET Core) project template.
  4. Add model builder by right click on the project.
  5. Select "Data classification scenario.
  6. On Data page, choose the data source.
  7. On the Train page, choose "Log-Loss Reduction" metric and "L-BFGS & Fast Tree" trainer.
  8. Click "Start training" button to training.
  9. After the training completed, you will see that "Microsoft.ML.FastTree" package cannot be installed automatically when the best model started with "Lbfgs.....".
  10. Besides, the generated Console App and Web API projects are running failed.

Expected behavior

  1. "Microsoft.ML.FastTree" package should be installed automatically after the training completed.
  2. The generated Console App and Web API projects should be running successfully.

Screenshot

image

image

Additional context