This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cs401r_w2016:lab4 [2016/02/11 23:27] admin |
cs401r_w2016:lab4 [2021/06/30 23:42] (current) |
||
---|---|---|---|
Line 51: | Line 51: | ||
For the Gaussian / RBF kernel, set all parameters to 1.0 | For the Gaussian / RBF kernel, set all parameters to 1.0 | ||
+ | |||
+ | The mean function for this lab should always return 0. | ||
You should also answer the following questions: | You should also answer the following questions: | ||
Line 69: | Line 71: | ||
<code python> | <code python> | ||
+ | |||
+ | numpy.arange() | ||
plt.gca().fill_between | plt.gca().fill_between | ||
plt.scatter | plt.scatter | ||
- | numpy.linalg.inv | + | numpy.linalg.pinv |
numpy.eye | numpy.eye |