Click or drag to resize
Accord.NET (logo)

JaggedOneHot Method

Overload List
  NameDescription
Public methodStatic memberOneHotT(Boolean)
Creates a matrix of one-hot vectors, where all values at each row are zero except for the ones in the positions where mask are true, which are set to one.
Public methodStatic memberOneHotT(Int32)
Creates a matrix of one-hot vectors, where all values at each row are zero except for the indicated indices, which is set to one.
Public methodStatic memberOneHot(Int32)
Creates a matrix of one-hot vectors, where all values at each row are zero except for the indicated indices, which is set to one.
Public methodStatic memberOneHotT(Boolean, T)
Creates a matrix of one-hot vectors, where all values at each row are zero except for the ones in the positions where mask are true, which are set to one.
Public methodStatic memberOneHot(Int32, Double)
Creates a matrix of one-hot vectors, where all values at each row are zero except for the indicated indices, which is set to one.
Public methodStatic memberOneHotT(Int32, Int32)
Creates a matrix of one-hot vectors, where all values at each row are zero except for the indicated indices, which is set to one.
Public methodStatic memberOneHot(Int32, Int32)
Creates a matrix of one-hot vectors, where all values at each row are zero except for the indicated indices, which is set to one.
Public methodStatic memberOneHotT(Int32, T)
Creates a matrix of one-hot vectors, where all values at each row are zero except for the indicated indices, which is set to one.
Top
See Also