Skip to content

Commit f6ce846

Browse files
committed
PyCaret: Use stable download source for 4TU CSV datasets
`data.4tu.nl` does not always respond to requests from CI/GHA.
1 parent ee11c21 commit f6ce846

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

topic/machine-learning/pycaret/automl_timeseries_forecasting_with_pycaret.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@
230230
"outputs": [],
231231
"source": [
232232
"target_data = pd.read_csv(\n",
233-
" \"https://data.4tu.nl/file/539debdb-a325-412d-b024-593f70cba15b/a801f5d4-5dfe-412a-ace2-a64f93ad0010\"\n",
233+
" \"https://cdn.crate.io/downloads/datasets/cratedb-datasets/machine-learning/timeseries/4tu-a801f5d4-5dfe-412a-ace2-a64f93ad0010.csv\"\n",
234234
")\n",
235235
"related_data = pd.read_csv(\n",
236-
" \"https://data.4tu.nl/file/539debdb-a325-412d-b024-593f70cba15b/f2bd27bd-deeb-4933-bed7-29325ee05c2e\",\n",
236+
" \"https://cdn.crate.io/downloads/datasets/cratedb-datasets/machine-learning/timeseries/4tu-f2bd27bd-deeb-4933-bed7-29325ee05c2e.csv\",\n",
237237
" header=None,\n",
238238
")\n",
239239
"related_data.columns = [\"item\", \"org\", \"date\", \"unit_price\"]\n",

topic/machine-learning/pycaret/automl_timeseries_forecasting_with_pycaret.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434

3535
def prepare_data():
3636
target_data = pd.read_csv(
37-
"https://data.4tu.nl/file/539debdb-a325-412d-b024-593f70cba15b/a801f5d4-5dfe-412a-ace2-a64f93ad0010"
37+
"https://cdn.crate.io/downloads/datasets/cratedb-datasets/machine-learning/timeseries/4tu-a801f5d4-5dfe-412a-ace2-a64f93ad0010.csv"
3838
)
3939
related_data = pd.read_csv(
40-
"https://data.4tu.nl/file/539debdb-a325-412d-b024-593f70cba15b/f2bd27bd-deeb-4933-bed7-29325ee05c2e",
40+
"https://cdn.crate.io/downloads/datasets/cratedb-datasets/machine-learning/timeseries/4tu-f2bd27bd-deeb-4933-bed7-29325ee05c2e.csv",
4141
header=None,
4242
)
4343
related_data.columns = ["item", "org", "date", "unit_price"]

0 commit comments

Comments
 (0)