Skip to content

Commit

Permalink
Update index.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
bpurdy-ds authored Oct 15, 2024
1 parent e6eb0f4 commit 974eb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"$$ \\text{cost function ridge}= \\sum_{i=1}^n(y_i - \\hat{y})^2 = \\sum_{i=1}^n(y_i - \\sum_{j=1}^k(m_jx_{ij})-b)^2 + \\lambda \\sum_{j=1}^p m_j^2$$"
"$$ \\text{cost function ridge}= \\sum_{i=1}^n\Big(y_i - (m_1x_{1i} + m_2x_{2i}) - b\Big)^2 + \lambda m_1^2 + \lambda m_2^2$$"
]
},
{
Expand Down

0 comments on commit 974eb17

Please sign in to comment.