Skip to content

Commit

Permalink
[TF-DF] Fix uplift colab
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 730882503
  • Loading branch information
rstz authored and copybara-github committed Feb 25, 2025
1 parent 435ce14 commit 683e45d
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions documentation/tutorials/uplift_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
"\n",
"Install TF-DF by running the following cell.\n",
"\n",
"[Wurlitzer](https://pypi.org/project/wurlitzer/) is needed to display the detailed training logs in Colabs (when using `verbose=2` in the model constructor)."
"[Wurlitzer](https://pypi.org/project/wurlitzer/) is needed to display the detailed training logs in Colabs (when using `verbose=2` in the model constructor).\n",
"\n",
"Tensorflow Datasets is needed download the dataset used in this tutorial."
]
},
{
Expand All @@ -93,7 +95,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow_decision_forests wurlitzer"
"pip install tensorflow_decision_forests wurlitzer tensorflow-datasets"
]
},
{
Expand Down Expand Up @@ -231,18 +233,6 @@
"Read more about dataset [in its documentation]( https://blog.minethatdata.com/2008/03/minethatdata-e-mail-analytics-and-data.html). This tutorial uses the dataset as curated by [TensorFlow Datasets](https://www.tensorflow.org/datasets/catalog/hillstrom)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "IKkNy8xedOb7"
},
"outputs": [],
"source": [
"# Install the TensorFlow Datasets package\n",
"!pip install tensorflow-datasets -U --quiet"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 683e45d

Please sign in to comment.