Closed racinmat closed 2 years ago
Implementing this certainly wouldn't hurt.. Out of curiosity, where do you need this?
It's useful in some examples in JsonGrinder where I use extractor to extract labels in task where I predict one field of json from other fields.
We use
Flux.onecold
as an inversion to onehot encoding. This works for OneHotMatrix, but not for MaybeHotMatrix. SeeIt works as
but that feels cumbersome.