dotnet / dotnet/machinelearning-modelbuilder

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.

Open
#2,971 0 comments 0 reactions 0 assignees View on GitHub
Priority:0 Reported by: Test
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**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**
- On which step of the process did you run into an issue:
The generated Console App and Web API projects are running failed.

**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](https://github.com/user-attachments/assets/6750c45f-08e5-474b-b483-b90dc7b28751)

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.