Machine Learning Fundamentals · 免费预览

解析解

线性回归具有闭式最小值解,这在机器学习中是例外而非常态,而且它仅在设计矩阵的各列相互独立时才存在。

1. Turning the bias into a weight

Turning the bias into a weight

2. Setting the derivative to zero

Setting the derivative to zero

3. The condition for a unique answer

The condition for a unique answer

4. What breaks the closed form

A design matrix X\mathbf{X} has 200 rows and 5 columns, but two of its columns are exact duplicates of each other. The normal equations X⊤Xw=X⊤y\mathbf{X}^\top\mathbf{X}\mathbf{w} = \mathbf{X}^\top\mathbf{y} are formed. Which statement is correct?

5. The shape of the cross-product

A design matrix X\mathbf{X} has shape (n,d)=(1500,9)(n, d) = (1500, 9). The matrix X⊤X\mathbf{X}^\top\mathbf{X} has shape ____.

进入交互式练习

免费注册 · 即时批改 · 自动安排间隔复习。

免费开始这门课