| Author |
Comment/Response |
Chris
|
05/08/12 12:49pm
Hey,
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.
ex:
a= {1,1,0,0,1}
b= {1,1,1,0,0}
When a[[1]] and b[[1]] are both 1, it's a True Positive, if a[[1]] is 1, and b[[1]] 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.
Thanks!
-Chris
URL: , |
|