dotnet / dotnet/machinelearning
Vector of length 0 as missing value for vector type columns is problematic
@yaeldekel ci sta già lavorando.
Dal 11/2/2019.
- Lingua principale
- C#
- Stelle
- 9.4k
- Fork
- 1.9k
- Merge medio
- 2g 20h
- PR unite (30g)
- 11
Descrizione
ValueMappingTransformer returns a vector of length 0 when the value it is trying to map is not in the dictionary. When data that has a missing value like this is saved as text data, then TextLoader is not able to reload this data. For example: if the mapping is
"a" -> 0,1
"b" -> 1,0
"c" -> 1,1
and we apply the ValueMappingTransformer to the following data:
a b
b c
d a
the result should be:
a b 0 1 1 0
b c 1 0 1 1
d a <missing vector of length 2> 0 1
but the actual result is
a b 0 1 1 0
b c 1 0 1 1
d a 0 1
which causes TextLoader to load the data as
a b 0 1 1 0
b c 1 0 1 1
d a 0 1 0 0
Guida per i contributori
Apri la guida per i contributori
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.
Valutazione
Questa issue non è ancora stata valutata.