QMRITools`
QMRITools`
ClassEncoder
ClassEncoder[label]
encodes Integer label data of 0 to max value of label into a nClass + 1 vector of 1 and 0 as the last dimension.
ClassEncoder[label,nClass]
encodes Integer label data of 0 to nCalss into a nClass + 1 vector of 1 and 0 as the last dimension.