Description Usage Arguments Value
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.
1 | one_hot_encoding(data_raw, ncat = 10)
|
data_raw |
data input to create encoding; target must be first column |
ncat |
number of categories to use for the encoding |
targets in a one hot encoding matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.