May I ask, How to get posterior probability for CNN (prediction probability) ? I am using the CNN inbulit function, is there a way I can get the posterior probability ? I read the a post about prior probability (just equations, not the function), but I didnt find any function could show the posterior probability. Someone can advise me? Thank you very much.