[−][src]Function onehot::vertical
pub fn vertical<T: OneHot>(data: &[T]) -> BitMatrix
Encode a dataset vertically into a bitmatrix using OneHot.
The resulting matrix is of the form:
record 1 . . . record N
+--------------------------
value 1 | true . . . false
. | . . . . .
. | . . . . .
. | . . . . .
value M | false . . . false