Skip to content

Commit 94e72e3

Browse files
authored
Add links to tfma notebook for running in colab/github (#25903)
* Add links to tfma notebook for running in colab/github * Missing comma * Formatting * Formatting
1 parent 10611f6 commit 94e72e3

1 file changed

Lines changed: 23 additions & 5 deletions

File tree

examples/notebooks/beam-ml/tfma_beam.ipynb

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,34 @@
3232
"cell_type": "markdown",
3333
"source": [
3434
"# TensorFlow Model Analysis in Beam\n",
35-
"[TensorFlow Model Analysis (TFMA)](https://www.tensorflow.org/tfx/guide/tfma) is a library for performing model evaluation across different slices of data. TFMA performs its computations in a distributed manner over large amounts of data using Apache Beam.\n",
36-
"\n",
37-
"This example notebook illustrates how you can use TFMA to investigate and visualize the performance of a model as part of your Beam pipeline. Using TFMA enables scalable and flexible execution of your evaluation pipeline. This example uses [ExtractEvaluateAndWriteResults](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/ExtractEvaluateAndWriteResults), which is a `PTransform` that performs extraction and evaluation and writes results all in one step.\n",
3835
"\n",
39-
"For additional information about TFMA, see the [TFMA basic notebook](https://www.tensorflow.org/tfx/tutorials/model_analysis/tfma_basic), which provides an in-depth look at its capabilities."
36+
"<table align=\"left\">\n",
37+
" <td>\n",
38+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/apache/beam/blob/master/examples/notebooks/beam-ml/tfma_beam.ipynb\"><img src=\"https://raw.githubusercontent.com/google/or-tools/main/tools/colab_32px.png\" />Run in Google Colab</a>\n",
39+
" </td>\n",
40+
" <td>\n",
41+
" <a target=\"_blank\" href=\"https://github.com/apache/beam/blob/master/examples/notebooks/beam-ml/tfma_beam.ipynb\"><img src=\"https://raw.githubusercontent.com/google/or-tools/main/tools/github_32px.png\" />View source on GitHub</a>\n",
42+
" </td>\n",
43+
"</table>\n"
4044
],
4145
"metadata": {
4246
"id": "1m9dEIsQAP_-"
4347
}
4448
},
49+
{
50+
"attachments": {},
51+
"cell_type": "markdown",
52+
"metadata": {
53+
"id": "GNbarEZsalS2"
54+
},
55+
"source": [
56+
"[TensorFlow Model Analysis (TFMA)](https://www.tensorflow.org/tfx/guide/tfma) is a library for performing model evaluation across different slices of data. TFMA performs its computations in a distributed manner over large amounts of data using Apache Beam.\n",
57+
"\n",
58+
"This example notebook illustrates how you can use TFMA to investigate and visualize the performance of a model as part of your Beam pipeline. Using TFMA enables scalable and flexible execution of your evaluation pipeline. This example uses [ExtractEvaluateAndWriteResults](https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/ExtractEvaluateAndWriteResults), which is a `PTransform` that performs extraction and evaluation and writes results all in one step.\n",
59+
"\n",
60+
"For additional information about TFMA, see the [TFMA basic notebook](https://www.tensorflow.org/tfx/tutorials/model_analysis/tfma_basic), which provides an in-depth look at its capabilities."
61+
]
62+
},
4563
{
4664
"cell_type": "markdown",
4765
"source": [
@@ -739,4 +757,4 @@
739757
},
740758
"nbformat": 4,
741759
"nbformat_minor": 0
742-
}
760+
}

0 commit comments

Comments
 (0)