Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose you trained a logistic regression classifier and attained the following model f ( x , ) = ( 0 + 1 x + 2

Suppose you trained a logistic regression classifier and attained the following model
f(x,)=(0+1x+2x2),
where 0=4,1=-5, and 2=1.
(a)(6 points) For which values of x will the classifier predict a value of 1.
(b)(6 points) Assume each feature is shifted 2-upwards (add 2 to each sample each feature). Compute the new range of values of x that predict 1.
(c)(6 points) Predict the label for the following testing samples
\table[[x,0.5,1.5,3,6,2.5,2.7,7,3.3]]
2
(d)(6 points) Assume that the Sigmoid function is replaced by the following function
(z)=e-z1+e-z.
How will your predictions in the part (c) change?
2. Suppose you trained a simple logistic regression model and attained the following
hat(y)=0+1x,
where 0=2.5 and 1=1.5.
(12 points) Assume that for each sample ((:xi,yi} we doubled the label (i.e. updated samples (xi,2yi)). Show that the optimal linear regression model for the updated data will be
hat(y)=5+31,
Suppose you are given the following 2-class data where + represents positive class and - represents negative class. The dataset is given in the table below.
\table[[x1,x2,Label],[1,1,=
image text in transcribed

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

Professional SQL Server 2000 Database Design

Authors: Louis Davidson

1st Edition

1861004761, 978-1861004765

More Books

Students also viewed these Databases questions

Question

Convert decimal number 2 1 0 to BCD code.

Answered: 1 week ago