Click or drag to resize
Accord.NET (logo)

MatrixOneHot Method

Overload List
  NameDescription
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 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