loli / medpy

Medical image processing in Python
http://loli.github.io/medpy/
GNU General Public License v3.0
559 stars 136 forks source link

metrics for multi-classes? #94

Closed hubutui closed 4 years ago

hubutui commented 4 years ago

Currently, all metric measures in https://loli.github.io/medpy/metric.html are for binary only. Any plan to add support for multiple classes?

loli commented 4 years ago

I currently do not plan that. But any contributions are very welcome.

Metrics for multiple classes are notoriously fickle and have to be defined with the application in mind. More often than not, no generally agreed on definition exists (e.g., is label A when falsely classified B still 'more' correct than if it would have been falsely classified as C?).