SupervisedDepthPrediction icon indicating copy to clipboard operation
SupervisedDepthPrediction copied to clipboard

Calculating prob in ordinal regression

Open g0401828t opened this issue 3 years ago • 1 comments

Hi, thank you for the nice code. It was really nice to refer to. I am a fresh man in deep learning so if the question is dumb, please excuse me.

I am not sure but in the paper, the ord_prob is calculated as below by taking the probability of the second one. image

However, from your code(class OrdinalRegressionLayer), the Order_prob is calculated with the first one. image

Shouldn't 0 be 1 to take the second prob as ord_prob? Or is it that it doesn't matter much to influence the result?

g0401828t avatar Sep 09 '21 13:09 g0401828t

Hi, thank you for the nice code. It was really nice to refer to. I am a fresh man in deep learning so if the question is dumb, please excuse me.

I am not sure but in the paper, the ord_prob is calculated as below by taking the probability of the second one. image

However, from your code(class OrdinalRegressionLayer), the Order_prob is calculated with the first one. image

Shouldn't 0 be 1 to take the second prob as ord_prob? Or is it that it doesn't matter much to influence the result?

I have the same question. Have you solved this problem? @g0401828t

heyuhhh avatar Mar 22 '23 12:03 heyuhhh