In a dataset, there are 1000 samples from apples and oranges. The dataset is split into two parts as 90% and 10% for training and testing, respectively. In the testing data, there are equal numbers of for apples and oranges. A supervised machine learning algorithm is trained to detect apples and oranges using the training dataset. When it is tested with the testing data, it finds the following results: Answer with an integer, no spaces. • It classifies 5 apples as oranges. • It classifies 40 oranges as oranges. Fill out the confusion matrix for the given information above: Model 1 Predicted Class Apple (+) Apple (+) Actual Class Oranges (-) C What are the a, b, c, d values in the confusion matrix? a: ? b: ? a:? d:? a Oranges (-) b d

icon
Related questions
Question

THIS IS NOT A GRADED ASSIGNMENT , THIS IS PRACTICE.

After doing the instructions in the picture:

Compute the accuracy, sensitivity (TPR), specificity (TNR), and precision for the confusion matrix. Show your work please and write the results. 

 
In a dataset, there are 1000 samples from apples and oranges. The dataset is split into two parts as 90% and 10% for
training and testing, respectively. In the testing data, there are equal numbers of for apples and oranges. A supervised
machine learning algorithm is trained to detect apples and oranges using the training dataset. When it is tested with
the testing data, it finds the following results: Answer with an integer, no spaces.
• It classifies 5 apples as oranges.
• It classifies 40 oranges as oranges.
Fill out the confusion matrix for the given information above:
Model 1
Predicted Class
Apple (+)
Actual Class
Apple (+)
Oranges (-)
a
С
What are the a, b, c, d values in the confusion matrix?
a: ?
b: ?
c:?
d:?
Oranges (-)
b
d
Transcribed Image Text:In a dataset, there are 1000 samples from apples and oranges. The dataset is split into two parts as 90% and 10% for training and testing, respectively. In the testing data, there are equal numbers of for apples and oranges. A supervised machine learning algorithm is trained to detect apples and oranges using the training dataset. When it is tested with the testing data, it finds the following results: Answer with an integer, no spaces. • It classifies 5 apples as oranges. • It classifies 40 oranges as oranges. Fill out the confusion matrix for the given information above: Model 1 Predicted Class Apple (+) Actual Class Apple (+) Oranges (-) a С What are the a, b, c, d values in the confusion matrix? a: ? b: ? c:? d:? Oranges (-) b d
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions