Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The Al team in a hospital developed a logistic regression model to predict if a patient is likely to develop a certain disease. They looked
The Al team in a hospital developed a logistic regression model to predict if a patient is likely to develop a certain disease. They looked at three features Age, blood pressure and body mass index. Below is a sample of ten patients' data; also in the last column is the predicted values from the logistic regression model. Notes: Accuracy of a model =(TT+TN)/(TP+FP+TN+FN) Precision of a model =TP/(TP+FP) Recall of a model = TP /(TP+FN) Positive is 1 , negative is 0 Assuming the threshold of the logistic regression model is set at 0.5, answer the following questions: 1.How many true predictions did the model produce? (2 marks) A 2. How many false predictions did the model produce? (2 marks) Cell(1,0)= What is the accuracy of the model? (3 marks) What is the precision of the model? (2.5 marks) What is the recall of the model? ( 2.5 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started