Update on project 1

This commit is contained in:
mhjensen
2018-09-14 06:13:23 +02:00
parent 81a5432b78
commit 546b0bf220
7 changed files with 20 additions and 20 deletions
@@ -16,7 +16,7 @@ to fit polynomials to a specific two-dimensional function called
function":"http://www.dtic.mil/dtic/tr/fulltext/u2/a081688.pdf". This
is a function which has been widely used when testing various interpolation and fitting
algorithms. Furthermore, after having etsablished the model and the
method, we will employ resamling techniques such as the cross-validation and
method, we will employ resamling techniques such as the cross-validation and/or
the bootstrap methods, in order to perform a proper assessment of our models.
@@ -120,8 +120,8 @@ where we have defined the mean value of $\hat{y}$ as
\]
!et
Perform a resampling of the data where you split the data in training data and test data. Implement the $k$-fold cross-validation algorithm and the bootstrap algorithm
and evaluate again the MSE and the $R^2$ functions resulting from the test data.
Perform a resampling of the data where you split the data in training data and test data. Implement the $k$-fold cross-validation algorithm and/or the bootstrap algorithm
and evaluate again the MSE and the $R^2$ functions resulting from the test data. Evaluate also the bias and variance of the final models using for example equation (7.9) in the textbook of Hastie *et al.*