Skip to content

Commit fac3682

Browse files
authored
Merge pull request #288 from ryangillard/master
updated apache beam packages
2 parents 2adc1f0 + 0a7f3b0 commit fac3682

File tree

3 files changed

+19
-411
lines changed

3 files changed

+19
-411
lines changed

courses/machine_learning/deepdive/06_structured/4_preproc.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"source": [
4242
"%%bash\n",
4343
"source activate py2env\n",
44-
"conda install -y pytz\n",
4544
"pip uninstall -y google-cloud-dataflow\n",
46-
"pip install --upgrade apache-beam[gcp]"
45+
"conda install -y pytz==2018.4\n",
46+
"pip install apache-beam[gcp]"
4747
]
4848
},
4949
{

courses/machine_learning/deepdive/06_structured/4_preproc_tft.ipynb

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,26 @@
4444
"source": [
4545
"%%bash\n",
4646
"source activate py2env\n",
47-
"conda install -y pytz\n",
4847
"pip uninstall -y google-cloud-dataflow\n",
49-
"pip install --upgrade --force tensorflow_transform==0.8.0 apache-beam[gcp]"
48+
"conda install -y pytz==2018.4\n",
49+
"pip install apache-beam[gcp] tensorflow_transform==0.8.0"
5050
]
5151
},
5252
{
5353
"cell_type": "code",
54-
"execution_count": null,
54+
"execution_count": 1,
5555
"metadata": {},
56-
"outputs": [],
56+
"outputs": [
57+
{
58+
"name": "stdout",
59+
"output_type": "stream",
60+
"text": [
61+
"apache-airflow==1.9.0\n",
62+
"google-cloud-dataflow==2.0.0\n",
63+
"tensorflow==1.8.0\n"
64+
]
65+
}
66+
],
5767
"source": [
5868
"%%bash\n",
5969
"pip freeze | grep -e 'flow\\|beam'"
@@ -84,8 +94,8 @@
8494
"outputs": [],
8595
"source": [
8696
"# change these to try this notebook out\n",
87-
"BUCKET = 'cloud-training-demos-ml'\n",
88-
"PROJECT = 'cloud-training-demos'\n",
97+
"BUCKET = 'cloud-training-demos-ml' # REPLACE WITH YOUR PROJECT ID\n",
98+
"PROJECT = 'cloud-training-demos' # REPLACE WITH YOUR BUCKET NAME\n",
8999
"REGION = 'us-central1'"
90100
]
91101
},
@@ -188,7 +198,7 @@
188198
"outputs": [],
189199
"source": [
190200
"%writefile requirements.txt\n",
191-
"tensorflow-transform==0.4.0"
201+
"tensorflow-transform==0.8.0"
192202
]
193203
},
194204
{

0 commit comments

Comments
 (0)