#1




HW 7, Q5  a bit vague formulation
It reads
Quote:
So there are 2 questions: 1. "Chosen model" means models which we chose using validation (in Q1 and Q3)? Or models, chosen on basis of Eout (Q2 and Q4)? 2. How should we evaluate Eout here, in Q5  just take Eout from results of Q2 and Q4? Or using chosen model, train the model on the whole D (in.dta) again and evaluate Eout on out.dta? 
#2




Re: HW 7, Q5  a bit vague formulation
Quote:
2. Yes, take results from Q2 and Q4. No restoration of the data set in this case as stated in the preamble, so train only using the training examples (which is already done).
__________________
Where everyone thinks alike, no one thinks very much 
#3




Re: HW 7, Q5  a bit vague formulation
Thanks!
But still didn't get the correct answer to Q5. Did anybody? 
#4




Re: HW 7, Q5  a bit vague formulation
I haven't submitted my answers yet but I have a problem with Q5.
My out of sample errors aren't consistent with any of the answers given, considering the choice of models, if I try to round the errors to the closest. I have reviewed my code 10 times but can't find something wrong with it... 
#5




Re: HW 7, Q5  a bit vague formulation
Quote:

#6




Re: HW 7, Q5  a bit vague formulation
Some things to check:
I'm pretty sure that if the code is right, there will be no doubt which answers to choose. 
#7




Re: HW 7, Q5  a bit vague formulation
Quote:
If that's what I messed up, then thanks a lot ! (I will try again tonight and let you know if it fixes my issues.) 
#8




Re: HW 7, Q5  a bit vague formulation
Thanks tzs, indeed you found my problem !

#9




Re: HW 7, Q5  a bit vague formulation
Indeed, I used the first 10 points for training, and it should be the last 10. Thank you so much.

#10




Re: HW 7, Q5  a bit vague formulation
Of course I used the wrong 10 in the 2nd training, too .
Thx for your help 
Thread Tools  
Display Modes  

