JuliaML / JuliaML/MLLabelUtils.jl
add onehot
Open
- Dominant language
- Julia
- Stars
- 31
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
I find convenient the following methods:
```julia
onehot(x) = onehot(Int, x)
onehot(T::Type, x) = convertlabel(LabelEnc.OneOfK{T}, x)
```
Worth the addition?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.