{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "accelerator": "GPU", "colab": { "name": "working Ch5_LossFunctions_TFP.ipynb", "provenance": [], "collapsed_sections": [] }, "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.7" } }, "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "rZQKEjPNGNzG" }, "source": [ "# Probabilistic Programming and Bayesian Methods for Hackers Chapter 5\n", "\n", "
\n", " Run in Google Colab\n", " | \n", "\n", " View source on GitHub\n", " | \n", "
pip3 install -q tfp-nightly
pip3 install -q --upgrade tensorflow-probability
pip3 install -q --upgrade tensorflow-probability-gpu
pip3 install -q tfp-nightly-gpu
\n",
"The default version of TensorFlow in Colab will soon switch to TensorFlow 2.x.
\n",
"We recommend you upgrade now \n",
"or ensure your notebook will continue to use TensorFlow 1.x via the %tensorflow_version 1.x
magic:\n",
"more info.