Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

error_rate

Error rate


Description

1 - 'accuracy'

Usage

error_rate(inp, targ, axis = -1)

Arguments

inp

The predictions of the model

targ

The corresponding labels

axis

Axis

Value

tensor

Examples

## Not run: 

learn = cnn_learner(dls, resnet34(), metrics = error_rate)



## End(Not run)

fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.