Exercise 3.16

Answers

Steps of the algorithm that combines Φ3 with linear regression.

1.
For each x X, apply Φ3 to obtain the matrix Z.
2.
Compute the pseudo-inverse X of the matrix Z.
3.
Return wlin = Xy.

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 Z will be of size N ×d~. The main computational cost will be spent on the calculation of the pseudo-inverse X.

User profile picture
2021-12-07 22:26
Comments