one_hot_encoding: One Hot Encoding
Description
Creates a one hot encoding matrix with the specified number of categories
for the targets. Target must be the first column of the data_raw input.
Usage
one_hot_encoding(data_raw, ncat = 10)
Arguments
data_raw
data input to create encoding; target must be first column
ncat
number of categories to use for the encoding
Value
targets in a one hot encoding matrix