Exercise for the next three weeks:
Explore the world of learning techniques and submit your entry to the following competition before the end of Sunday 22nd of November. There will be a prize!
The data set: epithelial.RData
In CSV-format: trainExpression.csv trainStatus.csv testExpression.csv
To enter a contribution to the competition, send your predictions to k.h.hellton (at) math.uio.no or use the table in competition description and deliver it to the postbox of Kristoffer Hellton, Mathematics department post room (7th floor).
Exercises for November 2nd:
Extra exercise 7.1 (can skip point a4 as Sec. 7.7 is not on the curriculum)
Exercises for October 26th:
Try to recreate the figure 7.1. Use lasso regression and play with the parameters; noise, regression coefficients, \(p\) and \(\lambda\)
Exercise 2.9
Exercises for October 19th:
Exercise 5.1
Exercise 5.3 (Hint: All methods are linear in the beta's, such that eq (3.8) which can be used to obtain prediction variances)
Exercise 5.4
Exercises for October 12th:
Extend the exercise 4.9 to incorporate
- Logistic regression with quadratic penalty (18.3.2)
- Logistic regression with L1 - penalty (HTF: 4.4.4)
- Compare and motivate the differences
Solution
Exercises for October 5th:
Exercise 4.2 Solution
Exercise 4.9 Solution
Extensions to this exercise:
- Start by defining binary outputs for each class and for each of the following regression methods, construct classification rules (by writing computer programs):
- linear regression
- logistic regression
- Write a computer program to perform a linear discriminant analysis
- Then finally implement quadratic discriminant analysis
- Compare the different methods and conclude.
Note: The vowel data contain both a training and a test set. Use the training set to construct the classifiers and the test set to compare the different methods!
Hint: The file exer4_9_hint.r contain code for the first part of the exercise.
Exercises for September 21st:
Extra exercise 3.4, + Problem 1, Exam 2013 (you will be given time to solve & discuss the problem in class)
Exercise for September 14th:
Solutions:
Exercise for September 7th:
Solutions:
Exercise for August 31st:
Exercises for August 24th: