Created using Colaboratory
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"metadata": {
|
||||
"colab": {
|
||||
"provenance": [],
|
||||
"authorship_tag": "ABX9TyOsg2s5izHB6NECgiGlYIBb",
|
||||
"authorship_tag": "ABX9TyOJeBMhN9fXO8UepZ4+Pbg6",
|
||||
"include_colab_link": true
|
||||
},
|
||||
"kernelspec": {
|
||||
@@ -306,7 +306,7 @@
|
||||
"source": [
|
||||
"# Return the negative log likelihood of the data under the model\n",
|
||||
"def compute_negative_log_likelihood(y_train, mu, sigma):\n",
|
||||
" # TODO -- compute the negative log likelihood of the data without using aproduct\n",
|
||||
" # TODO -- compute the negative log likelihood of the data without using a product\n",
|
||||
" # In other words, compute minus one times the sum of the log probabilities\n",
|
||||
" # Equation 5.4 in the notes\n",
|
||||
" # You will need np.sum(), np.log()\n",
|
||||
|
||||
Reference in New Issue
Block a user