last version for lecture
This commit is contained in:
@@ -84,7 +84,7 @@ X \equiv \begin{bmatrix}
|
||||
\end{bmatrix}.
|
||||
\]
|
||||
!et
|
||||
The cost/loss/risk function is given by (
|
||||
The cost/loss/risk function is given by
|
||||
!bt
|
||||
\[
|
||||
C(\theta) = \frac{1}{n}||X\theta-\mathbf{y}||_{2}^{2} = \frac{1}{n}\sum_{i=1}^{100}\left[ (\theta_0 + \theta_1 x_i)^2 - 2 y_i (\theta_0 + \theta_1 x_i) + y_i^2\right]
|
||||
|
||||
Reference in New Issue
Block a user