0

Let's say we are classifying Images of cat , fish and human. Classifying a cat as human is as wrong as classifying it as fish, so here the normal loss functions/ metrics like Confusion matrix is fine.

But in the case of classifying a baby, child, teen, man, old-man. Classifying a child as old man is more wrong than classifying as a teen. So what would be a better metric for a ranking kind of classification?

Stephen Rauch
  • 1,783
  • 11
  • 21
  • 34
Pardhu
  • 101
  • 1
  • Why not use categories of Age? Then if your categories are numerical you can simply compare the numbers. – grldsndrs Jul 14 '19 at 14:32
  • that is just an example, my question what to do for such kind of rank able categorical data. – Pardhu Jul 14 '19 at 14:39
  • 1
    This kind of problem is known as "ordinal regression" (or the less common but more correct "ordinal classification"). https://datascience.stackexchange.com/questions/23233/cost-function-for-ordinal-regression-using-neural-networks – Ben Reiniger Jul 15 '19 at 00:56

0 Answers0