LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 1 (http://book.caltech.edu/bookforum/forumdisplay.php?f=130)
-   -   Clarification regarding some homework question (http://book.caltech.edu/bookforum/showthread.php?t=892)

lorddoskias 07-21-2012 11:03 AM

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?

yaser 07-21-2012 02:01 PM

Re: Clarification regarding some homework question
 
Quote:

Originally Posted by lorddoskias (Post 3567)
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.


All times are GMT -7. The time now is 04:11 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, 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.