Error in the R code for Chapter 7_澳门葡京手机版app下载

ingrihaf
2025-03-13T09:53:48.314Z
type:structured-message
www.uio.no

Note that there was an error in the R code for Chapter 7, in the file r-code-week6.r where the training error error.train.all was computed on line 150 in the code. It should have been computed as the mean of the squared residuals and not the sum. This is now corrected in the available file. Since you were supposed to use that code as a source of inspiration in the first mandatory assignment, many of you have probably copied this error. I appologise for this! This will of course not affect whether you pass the assignment or not.