dotnet / dotnet/machinelearning-modelbuilder

The Model 2022 reads true/false data as a string when csv file is loaded

Aperta
#2,782 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

GS Tutorial Stale
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:

  1. Go to 'Add Data'
  2. Click on 'Browse'
  3. Select the file
  4. Click in 'Advanced data options..."
  5. Check the 'Data type' column.
  6. 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
image

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. 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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.