Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

More Books

Students also viewed these Databases questions