Computer Science

Decision science assignment 1

 

1. Can a non-functional pregnancy test kit appear to have 100% accuracy? How? Explain with an example (5 points)

2. Two pregnancy test kits respectively report 55% and 40% accuracy when tested with 50 pregnant and 50 non-pregnant subjects. Which one is better and why? (5 points)

3. What knowledge we must have during training an algorithm that we do not have during testing? Why? (5 points)

4. a. Compute the threshold for the given scores for male and female classes.  Show work. (5 points)

4 b. Then compute FN, FP, FNR and FPR for that threshold (5 points)  

4.c. Finally, compute TP and TNR using the values computed in 4.b. (5 points)

Class

Score

Male

.11

Male

.21

Male

.15

Male

.21

Female

.14

Female

.22

Female

.32

Female

.31