Skip to content

Commit 80b9229

Browse files
authored
[FSTORE-1646] Tutorials Update (#293)
* Fixes for 4.x hopsworks[python]
1 parent 64d29dd commit 80b9229

37 files changed

+271
-678
lines changed

advanced_tutorials/air_quality/1_air_quality_feature_backfill.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050
],
5151
"source": [
52-
"!pip install -U hopsworks --quiet\n",
52+
"!pip install -U 'hopsworks[python]' --quiet\n",
5353
"!pip install geopy folium streamlit-folium --q"
5454
]
5555
},
@@ -1145,7 +1145,7 @@
11451145
"name": "python",
11461146
"nbconvert_exporter": "python",
11471147
"pygments_lexer": "ipython3",
1148-
"version": "3.8.18"
1148+
"version": "3.11.11"
11491149
}
11501150
},
11511151
"nbformat": 4,

advanced_tutorials/air_quality/2_air_quality_feature_pipeline.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@
12351235
],
12361236
"metadata": {
12371237
"kernelspec": {
1238-
"display_name": "Python 3",
1238+
"display_name": "Python 3 (ipykernel)",
12391239
"language": "python",
12401240
"name": "python3"
12411241
},
@@ -1249,7 +1249,7 @@
12491249
"name": "python",
12501250
"nbconvert_exporter": "python",
12511251
"pygments_lexer": "ipython3",
1252-
"version": "3.10.11"
1252+
"version": "3.11.11"
12531253
},
12541254
"vscode": {
12551255
"interpreter": {

advanced_tutorials/aml/1_aml_feature_pipeline.ipynb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@
2222
"First of all we will load the data and do some feature engineering on it."
2323
]
2424
},
25+
{
26+
"cell_type": "code",
27+
"execution_count": null,
28+
"id": "49d24791-2df7-4b2e-993c-ca02c642fb6f",
29+
"metadata": {},
30+
"outputs": [],
31+
"source": [
32+
"!pip install -U 'hopsworks[python]' --quiet"
33+
]
34+
},
2535
{
2636
"cell_type": "markdown",
2737
"id": "6a080c46",
@@ -693,7 +703,7 @@
693703
"name": "python",
694704
"nbconvert_exporter": "python",
695705
"pygments_lexer": "ipython3",
696-
"version": "3.10.13"
706+
"version": "3.11.11"
697707
}
698708
},
699709
"nbformat": 4,

advanced_tutorials/bitcoin/1_bitcoin_feature_backfill.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"metadata": {},
4141
"outputs": [],
4242
"source": [
43-
"!pip install -U hopsworks --quiet\n",
43+
"!pip install -U 'hopsworks[python]' --quiet\n",
4444
"\n",
4545
"!pip install -U unicorn-binance-rest-api --quiet\n",
4646
"!pip install -U python-dotenv --quiet\n",
@@ -414,7 +414,7 @@
414414
"name": "python",
415415
"nbconvert_exporter": "python",
416416
"pygments_lexer": "ipython3",
417-
"version": "3.9.18"
417+
"version": "3.11.11"
418418
}
419419
},
420420
"nbformat": 4,

advanced_tutorials/bitcoin/2_bitcoin_feature_pipeline.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"metadata": {},
3131
"outputs": [],
3232
"source": [
33-
"!pip install -U hopsworks --quiet\n",
33+
"!pip install -U 'hopsworks[python]' --quiet\n",
3434
"\n",
3535
"!pip install -U unicorn-binance-rest-api --quiet\n",
3636
"!pip install -U python-dotenv --quiet\n",
@@ -536,7 +536,7 @@
536536
"name": "python",
537537
"nbconvert_exporter": "python",
538538
"pygments_lexer": "ipython3",
539-
"version": "3.9.18"
539+
"version": "3.11.11"
540540
}
541541
},
542542
"nbformat": 4,

advanced_tutorials/bitcoin/3_bitcoin_training_pipeline.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
42-
"!pip install -U hopsworks --quiet"
42+
"!pip install -U 'hopsworks[python]' --quiet"
4343
]
4444
},
4545
{
@@ -996,7 +996,7 @@
996996
"name": "python",
997997
"nbconvert_exporter": "python",
998998
"pygments_lexer": "ipython3",
999-
"version": "3.12.5"
999+
"version": "3.11.11"
10001000
},
10011001
"vscode": {
10021002
"interpreter": {

advanced_tutorials/bitcoin/4_bitcoin_batch_inference.ipynb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@
1616
"3. Batch prediction using deployment."
1717
]
1818
},
19+
{
20+
"cell_type": "code",
21+
"execution_count": null,
22+
"id": "bc0e9321-c79f-4ddf-b8f8-783652e2d7a0",
23+
"metadata": {},
24+
"outputs": [],
25+
"source": [
26+
"!pip install -U 'hopsworks[python]' --quiet"
27+
]
28+
},
1929
{
2030
"cell_type": "markdown",
2131
"id": "8855ee1a",
@@ -314,7 +324,7 @@
314324
"name": "python",
315325
"nbconvert_exporter": "python",
316326
"pygments_lexer": "ipython3",
317-
"version": "3.9.12"
327+
"version": "3.11.11"
318328
}
319329
},
320330
"nbformat": 4,

advanced_tutorials/citibike/1_citibike_feature_backfill.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
41-
"!pip install -U hopsworks --quiet\n",
41+
"!pip install -U 'hopsworks[python]' --quiet\n",
4242
"!pip install python-dotenv"
4343
]
4444
},
@@ -620,7 +620,7 @@
620620
"provenance": []
621621
},
622622
"kernelspec": {
623-
"display_name": "Python 3",
623+
"display_name": "Python 3 (ipykernel)",
624624
"language": "python",
625625
"name": "python3"
626626
},
@@ -634,7 +634,7 @@
634634
"name": "python",
635635
"nbconvert_exporter": "python",
636636
"pygments_lexer": "ipython3",
637-
"version": "3.10.11"
637+
"version": "3.11.11"
638638
}
639639
},
640640
"nbformat": 4,

advanced_tutorials/credit_scores/1_credit_scores_feature_backfill.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"metadata": {},
3434
"outputs": [],
3535
"source": [
36-
"!pip install -U hopsworks --quiet"
36+
"!pip install -U 'hopsworks[python]' --quiet"
3737
]
3838
},
3939
{
@@ -873,7 +873,7 @@
873873
],
874874
"metadata": {
875875
"kernelspec": {
876-
"display_name": "Python 3",
876+
"display_name": "Python 3 (ipykernel)",
877877
"language": "python",
878878
"name": "python3"
879879
},
@@ -887,7 +887,7 @@
887887
"name": "python",
888888
"nbconvert_exporter": "python",
889889
"pygments_lexer": "ipython3",
890-
"version": "3.10.11"
890+
"version": "3.11.11"
891891
}
892892
},
893893
"nbformat": 4,

advanced_tutorials/electricity/1_electricity_feature_backfill.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
41-
"!pip install -U hopsworks --quiet"
41+
"!pip install -U 'hopsworks[python]' --quiet"
4242
]
4343
},
4444
{
@@ -373,7 +373,7 @@
373373
"name": "python",
374374
"nbconvert_exporter": "python",
375375
"pygments_lexer": "ipython3",
376-
"version": "3.9.18"
376+
"version": "3.11.11"
377377
}
378378
},
379379
"nbformat": 4,

0 commit comments

Comments
 (0)