error_rate | R Documentation |
1 - 'accuracy'
error_rate(inp, targ, axis = -1)
inp |
The predictions of the model |
targ |
The corresponding labels |
axis |
Axis |
tensor
## Not run:
learn = cnn_learner(dls, resnet34(), metrics = error_rate)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.