Question: CSCI - 4 3 4 3 Data Mining Homework 3 Q 1 ( 5 pt ) : Given a dat point of class A with

CSCI-4343 Data Mining
Homework 3
Q1(5 pt): Given a dat point of class A with attributes equal to (x'=2,y'=0).
Suppose the classifier is defined as:
if x+y+w0 then class A
otherwise class B
Given the loss defined as L(w)=(x0+y0+w)2 if model classify it to class
B and L(w)=0 if the model correctly classify the point.
Suppose we randomly initialize w=2, we first estimate the steep at w=2
use we learn in the class.
(a): Please write down the slope of line that across points (w-,L(w-)) and
(w+,L(w+)) when =10?
(b): What if =5,=1 or =0.1?
(c): Please use gradient to compute the steep at w=2(Hint: substitute x' and
y' with the values and then compute gradient). Feel free to use calculator such
as Wolfram to perform computation.
(d) Write down first two steps of gradient descend algorithm over L(w) start-
ing with w=2 and learning rate =0.1.
CSCI - 4 3 4 3 Data Mining Homework 3 Q 1 ( 5 pt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!