JuliaML / JuliaML/MLLabelUtils.jl

add onehot

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.