Click or drag to resize
Accord.NET (logo)

MatrixKHot Method

Overload List
  NameDescription
Public methodStatic memberKHot(Int32, Double)
Creates a matrix of k-hot vectors, where all values at each row are zero except for the indicated indices, which are set to one.
Public methodStatic memberKHotT(Int32, Int32)
Creates a matrix of k-hot vectors, where all values at each row are zero except for the indicated indices, which are set to one.
Public methodStatic memberKHot(Int32, Int32)
Creates a matrix of k-hot vectors, where all values at each row are zero except for the indicated indices, which are set to one.
Public methodStatic memberKHotT(Int32, T)
Creates a matrix of k-hot vectors, where all values at each row are zero except for the indicated indices, which are set to one.
Top
See Also