dotnet / dotnet/machinelearning-modelbuilder
The Model 2022 reads true/false data as a string when csv file is loaded
Nessuno ha ancora preso questa issue.
- Lingua principale
- Dockerfile
- Stelle
- 285
- Fork
- 66
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
System Information (please complete the following information):
- Model Builder version 2022
- Microsoft.ML (tested with 2.0.1 and 3.0.0-preview.23511.1)
- Visual Studio Version: Community 2022 (64-bit) Version 17.7.6
Describe the bug
- When I load the CSV file the model treats several columns as being of type string. However, all columns are only of one type, boolean, with true ou false values.
- The CSV file has a first line with 3653 columns names, and has 82020 rows of data.
- ** I can't just change more than 2000 columns manually each time I load the file.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Add Data'
- Click on 'Browse'
- Select the file
- Click in 'Advanced data options..."
- Check the 'Data type' column.
- Many of them are treated as a 'string'.
Expected behavior
All the columns should be only as a boolean data type.
The Data Lines (exemple):
true,true,false,false,false,true,false,true,true,true,false,true,false,true,false,false,false,false,true,false,false,false,true,false,false,...
** PS: The column names are unique in the file, despite the screenshot showing the same names. Full names have been hidden.
Screenshots
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema tramite Add Data, Browse e Advanced data options usando un CSV con colonne booleane, quindi esamina il percorso di caricamento dei dati e di inferenza dei tipi alla base della colonna Data type. Il lavoro è completato quando le colonne booleane vengono riconosciute come boolean invece che come string, senza dover modificare manualmente migliaia di colonne.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- machine-learning
- Ambito
- machine-learning, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100