I’m relatively new to PyTorch and deep learning. I was able to create a model and analyze a data set for both a training and test set in a binary classification problem. Everything is working well. Now I’m setting up a program where a user can enter specific values for each of the 17 features (both continuous and categorical variables) and then put these values into a tensor and then pass it through the model to make a prediction. This is all working fine as well.
But now I would like to add a “percent confidence” output. Currently the output is “yes” or “No” (print statement) dependent on the argmax of the output tensor which has two values. But I would also like to add a level of confidence% for the particular output. I’m sure this is possible somehow. Can I maybe use the raw values of the output tensor to somehow determine this level of confidence? That was just an idea I had, not sure how to approach this. Thanks for the help