conf_matrix_cb | R Documentation |
Create a confusion matrix to display under tensorboard images.
conf_matrix_cb(path_tensorboard, run_name, confMatLabels, cm_dir)
path_tensorboard |
Path to tensorboard directory or |
run_name |
Name of the run. Name will be used to identify output from callbacks. If |
confMatLabels |
Names of classes. |
cm_dir |
Directory that contains confusion matrix files. |
Keras callback, plot confusion matrix in tensorboard.
cm <- conf_matrix_cb(path_tensorboard = tempfile(), run_name = 'run_1',
confMatLabels = c('label_1', 'label_2'), cm_dir = tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.