I am using TensorFlow for my DNN model, it's a text-classification model which answers user's questions. I want it to print confidence percentage or something like that, and for example if model's confidence is below 80% or so, I want it to print something like "Sorry, I don't know how to answer your question".
I tried looking for something about confidence, but can't really find anything for text-classification model.