I'm writing a Probabilistic Neural Network and need to compare the elements in two lists to find the True Positive, True Negative, False Positive, and False Negative values.
When a[] and b[] are both 1, it's a True Positive, if a[] is 1, and b[] is 0, False Positive... you get the picture.
Is there a function that will help me complete this task? If not, is there a quick way to solve this? Computing them by hand is very tedious.