Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

8. (a) Let R be a set of n red points and let B be a set of n blue points. All in the plane.

image text in transcribed

8. (a) Let R be a set of n red points and let B be a set of n blue points. All in the plane. Suggest an expected O(n)-time algorithm to determine if there is a line such that every blue point is above l, and every red point is below l. Hint: Write the line las y = ax + b. What are the constrains on a and b that the points imposes? (b) Given R and B as above, find whether there is a line that separates them. (c) Repeat, but now R and B are points in Rd. You are allowed to use the Simplex Algorithm. Comments: in higher dimension, one could use the simplex method to find a separating hyper-plane. This methods sometimes referred to as the support vector machine. In other places, one adds more restrictions on the separating hyperplane (e.g. stay far away from all points)

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

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions

Question

=+2 Why are so many countries bothered by their brain drains?

Answered: 1 week ago