to_categorical_c | R Documentation |
Function written in C++ transforming a vector of classes (int) into a binary class matrix.
to_categorical_c(class_vector, n_classes)
class_vector |
|
n_classes |
|
Returns a matrix
containing the binary representation for
every class.
Other Auxiliary Functions:
get_alpha_3_codes()
,
matrix_to_array_c()
,
summarize_tracked_sustainability()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.