Click or drag to resize
Accord.NET (logo)

JaggedKHot Method

Overload List
  NameDescription
Public methodStatic memberKHotT(Boolean)
Creates a matrix of k-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 memberKHot(Boolean, Int32)
Creates a matrix of k-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 memberKHotT(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 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