Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a classification problem where we wish to determine if a human subject is likely to have a heart attack in the next year. We

Consider a classification problem where we wish to determine if a human subject is likely to have a heart attack in the next year. We use four features - x1 (Age), x2 (hospHistory), x3 (FavoriteFood), and x4 (Gender). Each feature takes on one of a discrete number of values, shown below:

Age: Child Teen Adult SeniorCitizen
hospHistory Never Recent DecadesAgo
FavoriteFood Apple, Steak Pasta Ice Cream
Gender: Male Female

We wish to classify each user as either yi=LikelyAttack or yi=NotLikelyAttack.

1. How can the features above be transformed to use a logistic classifier? For each feature, use a transformation that reasonably captures the structure of the data while minimizing the number of parameters to learn.

2. How many parameters are required to learn a separating hyper-plane (w and any other necessary elements) for logistic classification with the features converted in question 1? (Work from your answer to question 1. If you could not figure out question 1, assume we have a new space of 8 continuous numeric features x1, x2, ..., x8 this may or may not be a valid result from question 2.)

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

More Books

Students also viewed these Databases questions

Question

1. Write down two or three of your greatest strengths.

Answered: 1 week ago