Description Usage Arguments Value
View source: R/keras_classification.R
This function takes a binary matrix and returns one column representing the factor levels. That way, 'keras::to_categorical' can be reversed after the machine learning step and compared to the predictions
1 |
matrix |
the binary matrix which needs to be converted |
An integer vector with numeric factor levels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.