start expanding cost function

This commit is contained in:
Cat Flynn 2025-02-22 20:09:19 +00:00
parent 077f5eb506
commit c7ec1a8c1f
2 changed files with 4281 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -398,6 +398,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"deletable": false,
@ -413,16 +414,13 @@
}
},
"source": [
"YOUR ANSWER HERE"
"$$C(\\theta)=(X\\theta-y)^T(X\\theta-y)$$\n",
"$$(A+B)^T = A^T+B^T$$\n",
"$$\\therefore (X\\theta-y)^T=(X\\theta)^T-y^T$$\n",
"$$(AB)^T = A^TB^T$$\n",
"$$\\therefore (X\\theta)^T=X^T\\theta^T$$"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {