Skip to content

Commit

Permalink
No longer install tf_keras in tutorials
Browse files Browse the repository at this point in the history
The correct version is now a dependency of TF-DF

PiperOrigin-RevId: 615766356
  • Loading branch information
rstz authored and copybara-github committed Mar 14, 2024
1 parent 7d9a245 commit c6f54fd
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 14 deletions.
2 changes: 0 additions & 2 deletions documentation/tutorials/advanced_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@
"source": [
"# Install TensorFlow Decision Forests.\n",
"!pip install tensorflow_decision_forests\n",
"# TF-DF requires Tensorflow < 2.15 or tf_keras\n",
"!pip install tf_keras\n",
"\n",
"# Use wurlitzer to show the training logs.\n",
"!pip install wurlitzer"
Expand Down
4 changes: 1 addition & 3 deletions documentation/tutorials/beginner_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow_decision_forests\n",
"# TF-DF requires Tensorflow < 2.15 or tf_keras\n",
"!pip install tf_keras\n"
"!pip install tensorflow_decision_forests\n"
]
},
{
Expand Down
4 changes: 1 addition & 3 deletions documentation/tutorials/intermediate_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@
"outputs": [],
"source": [
"# Install TensorFlow Dececision Forests\n",
"!pip install tensorflow_decision_forests\n",
"# TF-DF requires Tensorflow < 2.15 or tf_keras\n",
"!pip install tf_keras\n"
"!pip install tensorflow_decision_forests\n"
]
},
{
Expand Down
4 changes: 1 addition & 3 deletions documentation/tutorials/model_composition_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow_decision_forests -U --quiet\n",
"# TF-DF requires Tensorflow < 2.15 or tf_keras\n",
"!pip install tf_keras -U --quiet\n"
"!pip install tensorflow_decision_forests -U --quiet\n"
]
},
{
Expand Down
4 changes: 1 addition & 3 deletions documentation/tutorials/ranking_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@
},
"outputs": [],
"source": [
"!pip install tensorflow_decision_forests\n",
"# TF-DF requires Tensorflow < 2.15 or tf_keras\n",
"!pip install tf_keras\n"
"!pip install tensorflow_decision_forests\n"
]
},
{
Expand Down

0 comments on commit c6f54fd

Please sign in to comment.