Description Usage Arguments Value
This functions allows you to transform a vector into a One-Hot Encoded matrix. Useful for nominal input data and tensorflow neural network outputs.
1 | onehot_encode(factor_vector, name)
|
factor_vector |
Vector containing the factors you want to one-hot encode. |
name |
Name of the coloumns in the output matrix. |
one-hot_matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.