LFD Book Forum  

Go Back   LFD Book Forum > Course Discussions > Online LFD course > The Final

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2013, 12:11 AM
carpdiem carpdiem is offline
Member
 
Join Date: Apr 2012
Posts: 16
Default 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))
Reply With Quote
  #2  
Old 03-11-2013, 12:44 AM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Question 2 - Method of averaging

Quote:
Originally Posted by carpdiem View Post
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.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
  #3  
Old 03-11-2013, 01:02 AM
carpdiem carpdiem is offline
Member
 
Join Date: Apr 2012
Posts: 16
Default Re: Question 2 - Method of averaging

Thanks Yaser!
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 04:59 AM.


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.