Homepage › Solution manuals › Yaser Abu-Mostafa › Learning from Data › Exercise 3.16
Exercise 3.16
Answers
Steps of the algorithm that combines with linear regression.
- 1.
- For each , apply to obtain the matrix .
- 2.
- Compute the pseudo-inverse of the matrix .
- 3.
- Return .
If the dimension of data is large and the order of polynomial transformation is big, the resulting dimension in the feature space will grow in the polynomial. The matrix will be of size . The main computational cost will be spent on the calculation of the pseudo-inverse .