- With UtilityFunctionf, the utility value assigned to actual value va and predicted value vp is taken to be f[va,vp].
- In the case of Classify, f is typically an association of associations, of the form <|class1<|class1u11,class2u12…|>,…|>. Here uij is the utility matrix, with i being the actual class and j the predicted class.
Examplesopen allclose all
Basic Examples (2)
Visualize the confusion matrix obtained when the classifier has a different value of UtilityFunction:
Introduced in 2014