start expanding cost function
This commit is contained in:
parent
077f5eb506
commit
c7ec1a8c1f
File diff suppressed because one or more lines are too long
@ -398,6 +398,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"attachments": {},
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"deletable": false,
|
"deletable": false,
|
||||||
@ -413,16 +414,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"source": [
|
"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",
|
"cell_type": "markdown",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user