Measure to compare true observed labels with predicted labels in multiclass classification tasks.

## Arguments

- truth
(

`factor()`

)

True (observed) labels. Must have the same levels and length as`response`

.- response
(

`factor()`

)

Predicted response labels. Must have the same levels and length as`truth`

.- sample_weights
(

`numeric()`

)

Vector of non-negative and finite sample weights. Must have the same length as`truth`

. The vector gets automatically normalized to sum to one. Defaults to equal sample weights.- ...
(

`any`

)

Additional arguments. Currently ignored.