LFD Book Forum  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-07-2012, 12:09 PM
ArikB ArikB is offline
Junior Member
 
Join Date: Oct 2012
Posts: 8
Default Confused on question 6.

Edit: Solved it, the story below is no longer relevant.

I'm confused about how one is supposed to calculate the score exactly. My biggest confusion seems to stem from the misunderstanding of what a 'point' is. Is a point one of the input vectors? so 101, 110 and 111 are 3 points?

So then g[a], returns 1 for all three points would mean that:

Code:
101 | 1
110 | 1
111 | 1
And g[b], returns all 0's:

Code:
101 | 0
110 | 0
111 | 0
And g[c], the xor function, would return:

Code:
101 | 0
110 | 0
111 | 1
and g(d), inverse of g(c), would return:

Code:
101 | 1
110 | 1
111 | 0
Or could it be that g[1] means that it will only return a 1 if all points are 1? So:

Code:
101 | 0
110 | 0
111 | 1
and g[b] would have a score of 0, because there are no 000 points.

I'm utterly confused by the question. :/
Reply With Quote
 

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 08:01 PM.


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.