How do I fix this problem?

TPR values shows NaN values in plotting ROC curve

Unfortunately, it’s impossible for us to help without seeing your code.

I have combined these two topics… Please don’t make duplicate topics.

Please post your actual code instead of a picture. Thanks