Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

9. answer these questions 1. We want to predict whether a person likes a movie. We know whether the person is male or female. From

9. answer these questions

image text in transcribed
1. We want to predict whether a person likes a movie. We know whether the person is male or female. From a population survey we know that 60% of people like the movie and of these 20% are males. You may assume that 50% of the population is male. Use Bayes Rule to construct a simple movie prediction classifier. 2. Consider now a different movie prediction task. Suppose training data is available which consists of pairs (xy), j=1,2,..,n, where yi=1 if the it person likes the move and 0 otherwise, and x,=1 if the ith person is male and 0 otherwise. Describe how to construct a logistic regression classifier for this task. 3. Logistic regression classification is often said to be most effective for linearly separable data. Explain what this means for a classifier with two inputs. What can happen is the data is not linearly separable ? 4. Download the file chdage.dat from: https://www.scss.ted.ie/doug.leith/ST3009/chdage.dat This contains data from a medical study. Each row corresponds to a different person and consists of three columns. The first is the person ID. The second is their age. The third is whether they have heart disease or not (1 or 0). Our aim is to use age as an input/feature to predict whether a person has heart disease. Use logistic regression to construct a Matlab classifier for this data, and write a short report on your results (to include a plot of the original data overlaid with the classifier predictions and a report on the fraction of predictions which are correct)

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

Theory And Applications Of Partial Functional Differential Equations

Authors: Abrar A Khan

1st Edition

9353141915, 9789353141912

More Books

Students also viewed these Mathematics questions

Question

What is the APY of a 6% interest rate, compounded quarterly?

Answered: 1 week ago

Question

Why is repatriation orientation and training needed?

Answered: 1 week ago