LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 2 (http://book.caltech.edu/bookforum/forumdisplay.php?f=131)
-   -   *ANSWER* HW 2, Question 5, 6 & 7 (http://book.caltech.edu/bookforum/showthread.php?t=4750)

 ddrhoadarmer 02-25-2017 09:47 AM

*ANSWER* HW 2, Question 5, 6 & 7

My program computed values approximately 1/2 way between two options. They were slightly closer to the correct answer, but not by enough to convince me that my algorithm was correct.

My actual results:
(5) 0.03854
(6) 0.04715
(7) 4.96800

Do these look right?

 argentina 04-25-2017 10:08 PM

Re: *ANSWER* HW 2, Question 5, 6 & 7

Mine:

Ein = 0.061869
Eout = 0.0586
Iter = 5.74

:cool:

 argentina 04-25-2017 10:11 PM

Re: *ANSWER* HW 2, Question 5, 6 & 7

It is worth noting that the first two values refer to a 100 random point run and the third (iter) refers to a 10 random point run.

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

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