fix doctest

This commit is contained in:
Roger-luo 2019-04-26 18:12:14 +08:00
parent 6c3a939133
commit d63338c242
1 changed files with 0 additions and 8 deletions

View File

@ -89,11 +89,6 @@ julia> onehotbatch([:b, :a, :b], [:a, :b, :c])
true false true
false false false
julia> onecold(ans, [:a, :b, :c])
3-element Array{Symbol,1}:
:b
:a
:b
```
"""
onehotbatch(ls, labels, unk...) =
@ -107,9 +102,6 @@ Inverse operations of [`onehot`](@ref).
## Examples
```jldoctest
julia> onecold(ans, [:a, :b, :c])
:c
julia> onecold([true, false, false], [:a, :b, :c])
:a