Question

c) The following table shows some measurements for dogs and cats on their height and length. You now need to identify these two classes with Support Vector Machines. Table Q1 (b) Class Dogs Dogs Dogs Dogs Dogs Cats Cats Cats Cats Cats Feature #1 185 180 173 170 165 168 160 158 155 152 Feature #2 80 65 74 87 73 60 52 67 50 Identify all the relevant support vectors. (9 marks Total: 25 markst

media%2Fc73%2Fc731bbe4-eebc-4f54-ab78-22

I have draw the graph but I have no idea how to determine the Support Vector Machine for this problem. Kindly please help me to solve. Many thanks.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

***************Answer*****************

Now you have to find the line equation such that it will differentiate the cats and dogs.

So first we have to take 2 random nodes from dogs and two random nodes from cats.

From one of them you have to take as +ve and othere -ve

like

if we take two random nodes from dogs, (185, 80), (170,87)

and from cats => (160,52), (152, 55)

let us assume dogs +ve and cats -ve

now we have to make 4 equations

w1x + w2y + w3 = 0

so those 4 equations are:

w1(185)+w2(80)+w3 = 1
w1(170)+w2(87)+w3 = 1

w1(160)+w2(52)+w3 = -1
w1(152)+w2(55)+w3 = -1

now from these 4 equations we have to find w1, w2, w3

and then we have to substitute them in w1x + w2y + w3 = 0

here you will get line equation draw that line in the graph then you can distinguish the cats and dogs

if you want to check using points then substitue any point in the line equation you have got if you get +ve then dogs else cats

Add a comment
Know the answer?
Add Answer to:
I have draw the graph but I have no idea how to determine the Support Vector...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • reproduce the output in p.75 and figure p.77(use Python ) compute the principle ( read the...

    reproduce the output in p.75 and figure p.77(use Python ) compute the principle ( read the R -code ) and do it on python with figure just convert the code to python I want to do it in Python program, please don't waste my time just tell me exactly you want Table 3.1: headsize data. Head Size Data. 157 195 163 176 146 head1 breadth1 head2 breadth 2 head1 breadth1 head2 breadth 2 191 155 179 145 190 159 195...

  • Bubba's Burgers - Statistics Question

    Sampled StoreDessert Orders Per 1,000 TransactionsStore 1185Store 2226Store 3290Store 4226Store 5255Store 6293Store 7138Store 8203Store 9276Store 10173Store 11275Store 12199Store 13213Store 14321Store 1597Store 16152Store 17319Store 18193Store 19126Store 20215Store 21186Store 22289Store 23181Store 24196Store 25183Store 2690Store 27178Store 28103Store 29173Store 30231Store 31158Store 32202Store 33234Store 34273Store 35218Store 36247Store 37223Store 38108Store 39238Store 40143Store 41206Store 42300Store 4389Store 44202Store 45250Store 46210Store 47137Store 48215Store 49204Store 50188Store 51255Store 52196Store 53123Store 54189Store 55206Store 56146Store 57136Store 58211Store 59164Store 60246Store 61324Store 62125Store 63195Store 64173Store 65179Store 6676Store 67248Store 68199Store 69223Store 70240Store 71224Store 72215Store 73222Store 74170Store...

  • A partial payment is made on the date indicated. Use the United States rule to determine...

    A partial payment is made on the date indicated. Use the United States rule to determine the balance due on the note at the date of maturity. (The Effective Date is the date the note was written.) Assume the year is not a leap year. Effective Partial Payment Maturity Principal Rate Date Amount Date Date $4000 4% April 1 $1000 May 1 June 1 Click the icon to view a table of the number of the day of the year...

  • Partial payments are made on the dates indicated. Use the United States rule to determine the...

    Partial payments are made on the dates indicated. Use the United States rule to determine the balance due on the note at the date of maturity. (The Effective Date is the date the note was written.) Assume the year is not a leap year. Effective Partial Payment Maturity Principal Date Amount Date Date $1900 19% Sept. 1 $500 Oct. 1 Dec. 1 $500 Nov. 1 Click the icon to view a table of the number of the day of the...

  • Zion, Inc. has one employee who has worked January - June of the current year. The...

    Zion, Inc. has one employee who has worked January - June of the current year. The employee is single, paid weekly, and claims three allowances on her W-2. The company is in a state that has no state income taxes. The FICA Social Security tax rate is 6.2 % on the first $118,500 of wages and the FICA Medicare tax rate is 1.45% on all wages. Zion, Inc.'s FUTA tax rate is 0.6 % on the first $7,000 of wages...

  • 33 On May 6, Jim Ryan borrowed $14,000 from Lane Bank at 7 % interest. Jim...

    33 On May 6, Jim Ryan borrowed $14,000 from Lane Bank at 7 % interest. Jim plans to repay the loan on March 11. Assume the loan is on ordinary interest. How much will Jim repay on March 11? (Use Days in a year table) (Round your answer to the nearest cent.) Jm repay etbook 7-1 TABLE Exact days-in-a-year calendar (excluding leap year)" Day of month 30 31 30 31 28 31 30 31 31 30 31 31 Dec Mar...

  • Please determine the IDENTITY of the unknown compound and explain how each peak / data point...

    Please determine the IDENTITY of the unknown compound and explain how each peak / data point from the following instruments led to that identification. What does the gcms indicate. Thank you very much! (The GCMS data is just a long set of numbers which is why the question appears so long). IR of unknown: NMR unknown Proton Graphs (first is overall graph, others that follow are zoomed in sections): NMR unknown Carbon Graphs (first is overall graph, others that follow...

  • Problem #1: TO SELECT THE MOST ECONOMICAL Wio SHAPE COLUMN ZO FEET IN HEIGHT SUPPORT AH...

    Problem #1: TO SELECT THE MOST ECONOMICAL Wio SHAPE COLUMN ZO FEET IN HEIGHT SUPPORT AH AXIAL LORD OF 370 KIPS using soksi STEEL! ASSUME A FIXED BASE ANDA PINGED TOP (CASE C) WIDE FLANGE SHAPES HP Axis Y-Y Theoretical Dimensions and Properties for Designing Flange Axis X-X | Weight Area Depth Web Section per of of Thick- Thick- Number Foot Section Section Width S 'T Sy Ty ness ness < * A by tw in. in. in.' in. in....

  • I have written my code for an employee management system that stores Employee class objects into...

    I have written my code for an employee management system that stores Employee class objects into a vector, I am getting no errors until I try and compile, I am getting the error: C2679 binary '==': no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion). But I am not sure why any help would be great, Thank you! 1 2 3 4 5 6 7 8 9 10 11 12 13...

  • data: (copy and paste in excel to view columns in alignment) Sample   Repair Time (days) 1  ...

    data: (copy and paste in excel to view columns in alignment) Sample   Repair Time (days) 1   12 2   17 3   9 4   16 5   10 6   18 7   12 8   14 9   15 10   14 11   14 12   8 13   11 14   10 15   8 16   8 17   14 18   12 19   14 20   13 21   12 22   15 23   15 24   10 25   24 26   17 27   13 28   15 29   13 30   15 31   36 32   40 33  ...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT