LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > Homework 1

Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2012, 12:03 PM
lorddoskias lorddoskias is offline
Junior Member
 
Join Date: Jul 2012
Posts: 9
Default Clarification regarding some homework question

I'm having problems wrapping my mind around the question which require taking randomly distirbuted points on "[-1,1] x [-1,1]" coordinate. Could someone explain what this exactly mean and give examples as to what a line which was chosen based on this would look like?
Reply With Quote
  #2  
Old 07-21-2012, 03:01 PM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Clarification regarding some homework question

Quote:
Originally Posted by lorddoskias View Post
I'm having problems wrapping my mind around the question which require taking randomly distirbuted points on "[-1,1] x [-1,1]" coordinate. Could someone explain what this exactly mean and give examples as to what a line which was chosen based on this would look like?
Take a number at random from the interval [-1,1] (i.e., a real number between -1 and +1) . Take another number independently, also from [-1,1]. These two numbers are now the coordinates of a point in the plane, and that point lies within the solid square [-1,1]\times[-1,1].

If you do this process a second time, you get another point, also within the solid square [-1,1]\times[-1,1]. The line that connects these two points is the line that separates the two regions in the plane that correspond to the two classes.

Some participants posted plots that show what these look like in other threads.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:03 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.