dotnet / dotnet/machinelearning-modelbuilder

Data classification: The error message is not very clear after changing the "SentimentText" column's Data type from "String" to "Boolean".

オープン
#2,986 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Priority:2 Reported by: Test
主要言語
Dockerfile
スター
285
フォーク
66
PR マージ指標
30日以内にマージされた PR はありません

説明

**System Information (please complete the following information):**
Windows OS: Windows-11-Enterprise-24H2
ML.Net Model Builder 2022: 17.19.0.2456401 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.11.5)
.Net: 6.0, 8.0

**Describe the bug**
- On which step of the process did you run into an issue:
The error message is not very clear after changing the "SentimentText" column's Data type to "Boolean".

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

**To Reproduce**
Steps to reproduce the behavior:
1. Select Create a new project from the Visual Studio start window.
2. Choose the C# Console App (.NET Core) project template.
3. Add model builder by right click on the project.
4. Select "Data classification" scenario.
5. On the Data page, choose the data source, column.
6. Changing the "SentimentText" column's Data type from "String" to "Boolean".
![Image](https://github.com/user-attachments/assets/62c7d75f-3293-4232-af04-0ddc907c3709)
7. On the Train page. click "Start training".
8. Check the error message.

**Expected behavior**
The error message should be like "**Schema mismatch for Context column 'SentimentText': expected String, got Boolean**".

**Screenshot**
![Image](https://github.com/user-attachments/assets/d5f0d8e1-b35d-44a6-81b3-c414adafe771)

**Additional context**
Changing the "SentimentText" column's Data type to "Boolean", actually all data could not be parsed. Because the "context" column's Data type should be "String".
But in the error message it only mentioned the data in line 66.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Visual Studio のスタート ウィンドウから Data classification シナリオを通じて問題を再現します。Data page で "SentimentText" 列を String から Boolean に変更し、次に Train page で Start training を選択します。発生したエラーを、想定されるスキーマ不一致の文言と比較し、メッセージがデータ行だけでなく、想定される型と実際の型を特定していることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
machine-learning
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。