1
$\begingroup$

I working on multi-label multi-class image classification. I am using TensorFlow. Currently I am using sigmoid on output layer with binary_crossentrpy. Model is giving fair accuracy, but for my requirement I need to rely on Subset accuracy (exact match) and not overall accuracy. For evaluation purpose I am using Subset Accuracy metric, but model is obviously maximizing overall accuracy. How can I add a custom loss function so that I can maximize subset accuracy.

$\endgroup$
2
  • $\begingroup$ You mean for a specific subset or the subset accuracy for all subsets? $\endgroup$
    – Janosch
    Commented Jan 17, 2020 at 9:42
  • $\begingroup$ @Janosch Look for Exact Match aka subset accuracy. Currently I am calculating subset accuracy for my test set. $\endgroup$ Commented Jan 17, 2020 at 9:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.