Skip to content

Commit 5804890

Browse files
ckurzeamotl
authored andcommitted
ML/AutoML: Slight changes for requirements
1 parent 031b819 commit 5804890

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

topic/machine-learning/automl/automl_timeseries_forecasting_with_pycaret.ipynb

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,26 +107,32 @@
107107
"source": [
108108
"## Getting started\n",
109109
"\n",
110-
"First, install the required dependencies. \n",
111-
"\n",
112-
"```bash\n",
113-
"pip install -r requirements.txt\n",
114-
"```\n",
110+
"First, install the required dependencies. "
111+
]
112+
},
113+
{
114+
"cell_type": "code",
115+
"execution_count": null,
116+
"metadata": {},
117+
"outputs": [],
118+
"source": [
119+
"#!pip install -r requirements.txt\n",
115120
"\n",
121+
"# In an environment like Google Colab, please use the abolute path of requirements.txt:\n",
122+
"#!pip install -r https://raw.githubusercontent.com/crate/cratedb-examples/main/topic/machine-learning/automl/requirements.txt"
123+
]
124+
},
125+
{
126+
"cell_type": "markdown",
127+
"metadata": {},
128+
"source": [
116129
"**Note:** As of time of this writing, PyCaret requires Python 3.8, 3.9 or 3.10.\n",
117130
"\n",
118131
"Second, you will need a CrateDB instance to store and serve the data. The \n",
119132
"easiest way to get started is to use the free CrateDB cloud offering. You can \n",
120133
"sign up for a free account at https://console.cratedb.cloud and \n",
121134
"[deploy a cluster].\n",
122135
"\n",
123-
"[deploy a cluster]: https://cratedb.com/docs/cloud/en/latest/tutorials/deploy/stripe.html#deploy-cluster\n"
124-
]
125-
},
126-
{
127-
"cell_type": "markdown",
128-
"metadata": {},
129-
"source": [
130136
"To populate your environment with corresponding database access credentials,\n",
131137
"create an `.env` file with the following content:\n",
132138
"\n",
@@ -140,6 +146,7 @@
140146
"\n",
141147
"You can find your CrateDB credentials in the [CrateDB Cloud Console].\n",
142148
"\n",
149+
"[deploy a cluster]: https://cratedb.com/docs/cloud/en/latest/tutorials/deploy/stripe.html#deploy-cluster\n",
143150
"[CrateDB Cloud Console]: https://cratedb.com/docs/cloud/en/latest/reference/overview.html#cluster"
144151
]
145152
},

0 commit comments

Comments
 (0)