Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FSTORE-1204] Remove Colab from tutorials #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@
"### <span style='color:#ff5f27'> 📝 Imports"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "a03d0127",
"metadata": {},
"outputs": [],
"source": [
"!pip install -U hopsworks --quiet\n",
"!pip install geopy folium streamlit-folium --q"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -660,7 +649,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@
"### <span style='color:#ff5f27'> 📝 Imports"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ad609eec-0b46-445f-a0f5-5657e5f69866",
"metadata": {},
"outputs": [],
"source": [
"!pip install xgboost --q"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -569,7 +559,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.10.13"
},
"vscode": {
"interpreter": {
Expand Down
10 changes: 9 additions & 1 deletion advanced_tutorials/air_quality/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@ pandas
numpy
streamlit
streamlit-folium
joblib
joblib
requests
json
folium
matplotlib
seaborn
xgboost
scikit-learn
hsml
16 changes: 2 additions & 14 deletions advanced_tutorials/bitcoin/1_bitcoin_feature_backfill.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"source": [
"# <span style=\"font-width:bold; font-size: 3rem; color:#1EB182;\"><img src=\"../../images/icon102.png\" width=\"38px\"></img> **Hopsworks Feature Store** </span><span style=\"font-width:bold; font-size: 3rem; color:#333;\">- Part 01: Feature Backfill</span>\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/logicalclocks/hopsworks-tutorials/blob/master/advanced_tutorials/bitcoin/1_bitcoin_feature_backfill.ipynb)\n",
"\n",
"## 🗒️ This notebook is divided into the following sections:\n",
"1. Fetch historical data.\n",
"2. Connect to the Hopsworks feature store.\n",
Expand Down Expand Up @@ -40,14 +38,6 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -U hopsworks --quiet\n",
"\n",
"!pip install -U unicorn-binance-rest-api --quiet\n",
"!pip install -U python-dotenv --quiet\n",
"!pip install -U textblob --quiet\n",
"!pip install -U vaderSentiment --quiet\n",
"!pip install -U tweepy --quiet\n",
"\n",
"# Hosted notebook environments may not have the local features package\n",
"import os\n",
"\n",
Expand Down Expand Up @@ -395,9 +385,7 @@
"source": [
"## <span style=\"color:#ff5f27;\">⏭️ **Next:** Part 02: Feature Pipeline</span>\n",
"\n",
"In the next notebook you will be parsing new monthly data for the Feature Groups.\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/logicalclocks/hopsworks-tutorials/blob/master/advanced_tutorials/bitcoin/2_bitcoin_feature_pipeline.ipynb)"
"In the next notebook you will be parsing new monthly data for the Feature Groups."
]
}
],
Expand All @@ -417,7 +405,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
17 changes: 2 additions & 15 deletions advanced_tutorials/bitcoin/2_bitcoin_feature_pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
"source": [
"# <span style=\"font-width:bold; font-size: 3rem; color:#1EB182;\"><img src=\"../../images/icon102.png\" width=\"38px\"></img> **Hopsworks Feature Store** </span><span style=\"font-width:bold; font-size: 3rem; color:#333;\">- Part 02: Feature Pipeline</span>\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/logicalclocks/hopsworks-tutorials/blob/master/advanced_tutorials/bitcoin/2_bitcoin_feature_pipeline.ipynb)\n",
"\n",
"\n",
"## 🗒️ This notebook is divided into the following sections:\n",
"1. Parsing Data.\n",
"2. Feature Group Insertion."
Expand All @@ -30,14 +27,6 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install -U hopsworks --quiet\n",
"\n",
"!pip install -U unicorn-binance-rest-api --quiet\n",
"!pip install -U python-dotenv --quiet\n",
"!pip install -U textblob --quiet\n",
"!pip install -U vaderSentiment --quiet\n",
"!pip install -U tweepy --quiet\n",
"\n",
"# Hosted notebook environments may not have the local features package\n",
"import os\n",
"\n",
Expand Down Expand Up @@ -514,9 +503,7 @@
"source": [
"## <span style=\"color:#ff5f27;\">⏭️ **Next:** Part 03: Training Pipeline </span>\n",
"\n",
"In the next notebook you will create a feature view, training dataset, train a model and register it in Hopsworks Model Registry.\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/logicalclocks/hopsworks-tutorials/blob/master/advanced_tutorials/bitcoin/3_bitcoin_training_pipeline.ipynb)"
"In the next notebook you will create a feature view, training dataset, train a model and register it in Hopsworks Model Registry."
]
}
],
Expand All @@ -536,7 +523,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
18 changes: 2 additions & 16 deletions advanced_tutorials/bitcoin/3_bitcoin_training_pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"source": [
"# <span style=\"font-width:bold; font-size: 3rem; color:#1EB182;\"><img src=\"../../images/icon102.png\" width=\"38px\"></img> **Hopsworks Feature Store** </span><span style=\"font-width:bold; font-size: 3rem; color:#333;\">- Part 03: Training Pipeline</span>\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/logicalclocks/hopsworks-tutorials/blob/master/advanced_tutorials/bitcoin/3_bitcoin_training_pipeline.ipynb)\n",
"\n",
"<span style=\"font-width:bold; font-size: 1.4rem;\">This is the third part of advanced tutorials about Hopsworks Feature Store. This notebook explains how to read from a feature group, create training dataset within the feature store, train a model, register it in Hopsworks Model Registry and then use for batch predictions.</span>\n",
"\n",
"## 🗒️ This notebook is divided into the following sections: \n",
Expand All @@ -32,16 +30,6 @@
"### <span style=\"color:#ff5f27;\"> 📝 Imports</span>"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0864725e",
"metadata": {},
"outputs": [],
"source": [
"!pip install -U hopsworks --quiet"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -974,9 +962,7 @@
"---\n",
"## <span style=\"color:#ff5f27;\"> ⏭️ **Next:** Part 04: Batch Inference</span>\n",
"\n",
"In the following notebook you will use your model for Batch Inference.\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/logicalclocks/hopsworks-tutorials/blob/master/bitcoin/4_bitcoin_batch_inference.ipynb)"
"In the following notebook you will use your model for Batch Inference."
]
}
],
Expand All @@ -996,7 +982,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
},
"vscode": {
"interpreter": {
Expand Down
4 changes: 1 addition & 3 deletions advanced_tutorials/bitcoin/4_bitcoin_batch_inference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"source": [
"# <span style=\"font-width:bold; font-size: 3rem; color:#1EB182;\"><img src=\"../images/icon102.png\" width=\"38px\"></img> **Hopsworks Feature Store** </span><span style=\"font-width:bold; font-size: 3rem; color:#333;\">- Part 04: Batch Inference</span>\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/logicalclocks/hopsworks-tutorials/blob/master/bitcoin/4_bitcoin_batch_inference.ipynb)\n",
"\n",
"## 🗒️ This notebook is divided into the following sections:\n",
"\n",
"1. Use the deployment to make a prediciton.\n",
Expand Down Expand Up @@ -314,7 +312,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
6 changes: 6 additions & 0 deletions advanced_tutorials/bitcoin/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
hopsworks
pandas
tensorflow
numpy
matplotlib
joblib
13 changes: 1 addition & 12 deletions advanced_tutorials/citibike/1_citibike_feature_backfill.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@
"### <span style='color:#ff5f27'> 📝 Imports"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "990e400c",
"metadata": {},
"outputs": [],
"source": [
"!pip install -U hopsworks --quiet\n",
"!pip install python-dotenv"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -643,7 +632,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
11 changes: 11 additions & 0 deletions advanced_tutorials/citibike/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
hopsworks
python-dotenv
pandas
plotly
joblib
numpy
matplotlib
seaborn
scikit-learn
xgboost
hsml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@
"## <span style='color:#ff5f27'> 📝 Imports"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "c2fb6ff7",
"metadata": {},
"outputs": [],
"source": [
"!pip install -U hopsworks --quiet"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -908,7 +898,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@
"## <span style='color:#ff5f27'> 📝 Imports"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "1b129ae2",
"metadata": {},
"outputs": [],
"source": [
"!pip install xgboost --quiet"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -619,7 +609,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
9 changes: 9 additions & 0 deletions advanced_tutorials/credit_scores/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
hopsworks
pandas
numpy
matplotlib
seaborn
xgboost
joblib
PIL
scikit-learn
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@
"### <span style='color:#ff5f27'> 📝 Imports"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "14700922",
"metadata": {},
"outputs": [],
"source": [
"!pip install -U hopsworks --quiet"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -382,7 +372,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,6 @@
"![02_training-dataset](../../images/02_training-dataset.png)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9aa6a645-fe38-4ed5-b5e6-f59f47b2a223",
"metadata": {
"scrolled": true,
"tags": []
},
"outputs": [],
"source": [
"!pip install tensorflow --quiet"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -956,7 +943,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.18"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
Loading