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".
Personne n'a encore pris cette issue.
- Langage dominant
- Dockerfile
- Étoiles
- 285
- Forks
- 66
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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:
- Select Create a new project from the Visual Studio start window.
- Choose the C# Console App (.NET Core) project template.
- Add model builder by right click on the project.
- Select "Data classification" scenario.
- On the Data page, choose the data source, column.
- Changing the "SentimentText" column's Data type from "String" to "Boolean".
- On the Train page. click "Start training".
- Check the error message.
Expected behavior
The error message should be like "Schema mismatch for Context column 'SentimentText': expected String, got Boolean".
Screenshot
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez le problème depuis la fenêtre de démarrage de Visual Studio en suivant le scénario Data classification : dans la Data page, remplacez le type de la colonne "SentimentText" de String par Boolean, puis sélectionnez Start training dans la Train page. Comparez l’erreur obtenue avec le libellé attendu pour une incompatibilité de schéma et vérifiez que le message identifie les types attendu et réel, plutôt qu’une simple ligne de données.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- machine-learning
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100