![]() |
#1
|
|||
|
|||
![]()
Greetings!
A couple of questions regarding programming problems #6 and #7: 1) Re: problem 6: When computing E_out using results from the earlier exercise, do we take the result of just one iteration from that previous experiment, or the average of 1000 runs (i.e., the average parameter values)? I'm getting VASTLY different answers, depending on what I choose...please advise! 2) Re: problem 7: Am I to simply use the weights from #5 and plug them into the hw1 PLA code without modification? (I assume so, but wanted to be certain.) Thanks. -Samir |
#2
|
||||
|
||||
![]() Quote:
Quote:
__________________
Where everyone thinks alike, no one thinks very much |
#3
|
|||
|
|||
![]()
I am a bit confused about Question #5. I have got a vector of E_in whose length is equal to the number of examples. Is this supposed to be so? And if yes, how do I then check my answer after 1000 runs - do I take the mean of the N (number of example) E_in values, or I am supposed to get a single value for E_in per each run?
Thanks very much in advance! Any help would be greatly appreciated! |
#4
|
|||
|
|||
![]() Quote:
Hope that helps. -Samir |
#5
|
|||
|
|||
![]()
Thanks very much for your reply! This does make sense, and I've just realised why I was initially confused about this - I always try to write my code to be as efficient as possible, and I was calculating this in a vectorised way (that's why I mentioned above that I've got a vector of values and not a single value) but in this particular case I had forgotten to sum up all elements of the vector.
|
![]() |
Tags |
linear regression |
Thread Tools | |
Display Modes | |
|
|