CTUAvastLab / Mill.jl

Build flexible hierarchical multi-instance learning models.
https://ctuavastlab.github.io/Mill.jl/stable/
MIT License
86 stars 8 forks source link

implemented onecold for maybehots which don't contain missings #85

Closed racinmat closed 2 years ago

racinmat commented 2 years ago

Fixes #83 . Allows calling Flux.onecold for MaybeHotArray{<:Integer} which is useful if we want to use JsonGrinder to encode labels. Adds maybecold which is same to onecold as maybehot is for onehot.

racinmat commented 2 years ago

Done, is it ok like this?