Question: Question 3 . Compute the confusion matrix ( for test data ) and store it as a variable confM. Hint: the entry in the 1

Question 3.
Compute the confusion matrix (for test data) and store it as a variable confM.
Hint: the entry in the 1 st row and 1 st column (predicted value = No, actual AHD value=No) should be 42.
ln[]:
#your code here
ralse NotlmplementedError
ln[]:
## check whether the determinant of the confusion matrix is 1337
assert abs(np. linalg. det np. array conflM)
 Question 3. Compute the confusion matrix (for test data) and store

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!