OneHot
struct
defined in module
FastAI
OneHot()
OneHot(T, threshold)
Encoding
that turns categorical labels into one-hot encoded arrays of type
T
.
Encodes
`Mask{N, U}` -> `OneHotTensor{N, T}`
`LabelMulti{N, U}` -> `OneHotTensorMulti{N, T}`
`Label{U}` -> `OneHotTensor{N, T}`
There are
2
methods for FastAI.OneHot
:
The following pages link back here:
Blocks and encodings, How to augment vision data, Image segmentation, Introduction, Saving and loading models for inference, Siamese image similarity, Tabular Classification, TimeSeries Classification, fastai API comparison
FastAI.jl , blocks/many.jl , datablock/wrappers.jl , encodings/onehot.jl , encodings/only.jl , learner.jl