I have a set of labells:

      A - no lesion
      B - mild
      C - severe 

If an instance from a class predicted as its nearest class not a big problem compare to an instance predicted as a compeletely different class.

For e.g. if A predicted as B is not a big problem compared to A predicted as C.

Are there any methods to do this? could you please suggest some readings and any public code to do this?


You need either Ordinal Regression (see also here for R) or Cost-Sensitive Classification. The are a lot of readings and public code examples. Google including the name of your programming language


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.