LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   The Final (http://book.caltech.edu/bookforum/forumdisplay.php?f=138)
-   -   Question 2 - Method of averaging (http://book.caltech.edu/bookforum/showthread.php?t=4095)

carpdiem 03-11-2013 12:11 AM

Question 2 - Method of averaging
 
Our learning algorithms return a vector of Ws, but our hypotheses are usually functions of those Ws.

Just to clarify, then, if we are averaging hypotheses, say, h1 and h2, our average hypothesis is (h1 + h2) / 2, and not (w1 + w2) / 2 plugged into our hypothesis form of h, even if, say, our h's were of some arbitrary form, say,

h(x) = exp(wT . x) / (1 + exp(wT . x))

yaser 03-11-2013 12:44 AM

Re: Question 2 - Method of averaging
 
Quote:

Originally Posted by carpdiem (Post 9864)
Our learning algorithms return a vector of Ws, but our hypotheses are usually functions of those Ws.

Just to clarify, then, if we are averaging hypotheses, say, h1 and h2, our average hypothesis is (h1 + h2) / 2, and not (w1 + w2) / 2 plugged into our hypothesis form of h

Correct.

carpdiem 03-11-2013 01:02 AM

Re: Question 2 - Method of averaging
 
Thanks Yaser!


All times are GMT -7. The time now is 07:10 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.