|
87 | 87 | "\n",
|
88 | 88 | "There are many [TensorFlow APIs](https://www.tensorflow.org/api_docs/python/) available, but start with these high-level TensorFlow concepts:\n",
|
89 | 89 | "\n",
|
90 |
| - "* Enable an [eager execution](https://www.tensorflow.org/programmers_guide/eager) development environment,\n", |
91 |
| - "* Import data with the [Datasets API](https://www.tensorflow.org/programmers_guide/datasets),\n", |
| 90 | + "* Enable an [eager execution](https://www.tensorflow.org/guide/eager) development environment,\n", |
| 91 | + "* Import data with the [Datasets API](https://www.tensorflow.org/guide/datasets),\n", |
92 | 92 | "* Build models and layers with TensorFlow's [Keras API](https://keras.io/getting-started/sequential-model-guide/).\n",
|
93 | 93 | "\n",
|
94 | 94 | "This tutorial is structured like many TensorFlow programs:\n",
|
|
155 | 155 | "source": [
|
156 | 156 | "### Configure imports and eager execution\n",
|
157 | 157 | "\n",
|
158 |
| - "Import the required Python modules—including TensorFlow—and enable eager execution for this program. Eager execution makes TensorFlow evaluate operations immediately, returning concrete values instead of creating a [computational graph](https://www.tensorflow.org/programmers_guide/graphs) that is executed later. If you are used to a REPL or the `python` interactive console, this feels familiar.\n", |
| 158 | + "Import the required Python modules—including TensorFlow—and enable eager execution for this program. Eager execution makes TensorFlow evaluate operations immediately, returning concrete values instead of creating a [computational graph](https://www.tensorflow.org/guide/graphs) that is executed later. If you are used to a REPL or the `python` interactive console, this feels familiar.\n", |
159 | 159 | "\n",
|
160 |
| - "Once eager execution is enabled, it *cannot* be disabled within the same program. See the [eager execution guide](https://www.tensorflow.org/programmers_guide/eager) for more details." |
| 160 | + "Once eager execution is enabled, it *cannot* be disabled within the same program. See the [eager execution guide](https://www.tensorflow.org/guide/eager) for more details." |
161 | 161 | ]
|
162 | 162 | },
|
163 | 163 | {
|
|
349 | 349 | "source": [
|
350 | 350 | "### Create a `tf.data.Dataset`\n",
|
351 | 351 | "\n",
|
352 |
| - "TensorFlow's [Dataset API](https://www.tensorflow.org/programmers_guide/datasets) handles many common cases for loading data into a model. This is a high-level API for reading data and transforming it into a form used for training. See the [Datasets Quick Start guide](https://www.tensorflow.org/get_started/datasets_quickstart) for more information.\n", |
| 352 | + "TensorFlow's [Dataset API](https://www.tensorflow.org/guide/datasets) handles many common cases for loading data into a model. This is a high-level API for reading data and transforming it into a form used for training. See the [Datasets Quick Start guide](https://www.tensorflow.org/get_started/datasets_quickstart) for more information.\n", |
353 | 353 | "\n",
|
354 | 354 | "\n",
|
355 | 355 | "Since the dataset is a CSV-formatted text file, use the the [make_csv_dataset](https://www.tensorflow.org/api_docs/python/tf/contrib/data/make_csv_dataset) function to parse the data into a suitable format. Since this function generates data for training models, the default behavior is to shuffle the data (`shuffle=True, shuffle_buffer_size=10000`), and repeat the dataset forever (`num_epochs=None`). We also set the [batch_size](https://developers.google.com/machine-learning/glossary/#batch_size) parameter."
|
|
713 | 713 | },
|
714 | 714 | "cell_type": "markdown",
|
715 | 715 | "source": [
|
716 |
| - "Use the [tf.GradientTape](https://www.tensorflow.org/api_docs/python/tf/GradientTape) context to calculate the *[gradients](https://developers.google.com/machine-learning/crash-course/glossary#gradient)* used to optimize our model. For more examples of this, see the [eager execution guide](https://www.tensorflow.org/programmers_guide/eager)." |
| 716 | + "Use the [tf.GradientTape](https://www.tensorflow.org/api_docs/python/tf/GradientTape) context to calculate the *[gradients](https://developers.google.com/machine-learning/crash-course/glossary#gradient)* used to optimize our model. For more examples of this, see the [eager execution guide](https://www.tensorflow.org/guide/eager)." |
717 | 717 | ]
|
718 | 718 | },
|
719 | 719 | {
|
|
894 | 894 | },
|
895 | 895 | "cell_type": "markdown",
|
896 | 896 | "source": [
|
897 |
| - "While it's helpful to print out the model's training progress, it's often *more* helpful to see this progress. [TensorBoard](https://www.tensorflow.org/programmers_guide/summaries_and_tensorboard) is a nice visualization tool that is packaged with TensorFlow, but we can create basic charts using the `matplotlib` module.\n", |
| 897 | + "While it's helpful to print out the model's training progress, it's often *more* helpful to see this progress. [TensorBoard](https://www.tensorflow.org/guide/summaries_and_tensorboard) is a nice visualization tool that is packaged with TensorFlow, but we can create basic charts using the `matplotlib` module.\n", |
898 | 898 | "\n",
|
899 | 899 | "Interpreting these charts takes some experience, but you really want to see the *loss* go down and the *accuracy* go up."
|
900 | 900 | ]
|
|
1123 | 1123 | "source": [
|
1124 | 1124 | "These predictions look good!\n",
|
1125 | 1125 | "\n",
|
1126 |
| - "To dig deeper into machine learning models, take a look at the TensorFlow [Programmer's Guide](https://www.tensorflow.org/programmers_guide/) and check out the [community](https://www.tensorflow.org/community/)." |
| 1126 | + "To dig deeper into machine learning models, take a look at the [TensorFlow Guide](https://www.tensorflow.org/guide/) and check out the [community](https://www.tensorflow.org/community/)." |
1127 | 1127 | ]
|
1128 | 1128 | },
|
1129 | 1129 | {
|
|
0 commit comments