From b813d4d108ba0859ef05aef9da7edf470744dced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Sat, 25 Jan 2025 10:51:28 +0100 Subject: [PATCH 1/5] Fix doc build now that OpenML is back --- examples/applications/plot_time_series_lagged_features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/applications/plot_time_series_lagged_features.py b/examples/applications/plot_time_series_lagged_features.py index edb27ade48007..9a3cec65dfee7 100644 --- a/examples/applications/plot_time_series_lagged_features.py +++ b/examples/applications/plot_time_series_lagged_features.py @@ -40,7 +40,7 @@ pl.Config.set_fmt_str_lengths(20) bike_sharing_data_file = fetch_file( - "https://openml1.win.tue.nl/datasets/0004/44063/dataset_44063.pq", + "https://openml.org/datasets/0004/44063/dataset_44063.pq", sha256="d120af76829af0d256338dc6dd4be5df4fd1f35bf3a283cab66a51c1c6abd06a", ) bike_sharing_data_file From e1f97590a1a350bba5e5ca48d3979f9df6f355df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Sat, 25 Jan 2025 10:51:44 +0100 Subject: [PATCH 2/5] [doc build] From 769eb6d9d2664f81675f1ae13a209842fd775d0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Sat, 25 Jan 2025 12:23:24 +0100 Subject: [PATCH 3/5] [doc build] use my cache folder repo --- examples/applications/plot_time_series_lagged_features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/applications/plot_time_series_lagged_features.py b/examples/applications/plot_time_series_lagged_features.py index 9a3cec65dfee7..a5e998d7b41a9 100644 --- a/examples/applications/plot_time_series_lagged_features.py +++ b/examples/applications/plot_time_series_lagged_features.py @@ -40,7 +40,7 @@ pl.Config.set_fmt_str_lengths(20) bike_sharing_data_file = fetch_file( - "https://openml.org/datasets/0004/44063/dataset_44063.pq", + "https://github.com/lesteve/scikit_learn_data/raw/refs/heads/main/openml1.win.tue.nl/datasets_0004_44063/dataset_44063.pq", sha256="d120af76829af0d256338dc6dd4be5df4fd1f35bf3a283cab66a51c1c6abd06a", ) bike_sharing_data_file From 4df68e374fd836030d38bbae03e469ed0aad071c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Mon, 27 Jan 2025 07:42:51 +0100 Subject: [PATCH 4/5] [doc build] use scikit-learn/examples-data --- examples/applications/plot_time_series_lagged_features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/applications/plot_time_series_lagged_features.py b/examples/applications/plot_time_series_lagged_features.py index a5e998d7b41a9..87b3c1f62c9ce 100644 --- a/examples/applications/plot_time_series_lagged_features.py +++ b/examples/applications/plot_time_series_lagged_features.py @@ -40,7 +40,7 @@ pl.Config.set_fmt_str_lengths(20) bike_sharing_data_file = fetch_file( - "https://github.com/lesteve/scikit_learn_data/raw/refs/heads/main/openml1.win.tue.nl/datasets_0004_44063/dataset_44063.pq", + "https://github.com/scikit-learn/examples-data/raw/refs/heads/master/bike-sharing-demand/dataset_44063.pq", sha256="d120af76829af0d256338dc6dd4be5df4fd1f35bf3a283cab66a51c1c6abd06a", ) bike_sharing_data_file From 3c766174b5bba45e9f5dbc465c189378b2dfd833 Mon Sep 17 00:00:00 2001 From: Olivier Grisel Date: Mon, 27 Jan 2025 09:57:11 +0100 Subject: [PATCH 5/5] Add TODO about data.openml.org --- examples/applications/plot_time_series_lagged_features.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/applications/plot_time_series_lagged_features.py b/examples/applications/plot_time_series_lagged_features.py index 87b3c1f62c9ce..3c0f03f890730 100644 --- a/examples/applications/plot_time_series_lagged_features.py +++ b/examples/applications/plot_time_series_lagged_features.py @@ -40,6 +40,11 @@ pl.Config.set_fmt_str_lengths(20) bike_sharing_data_file = fetch_file( + # Original file was hosted at: + # https://openml1.win.tue.nl/datasets/0004/44063/dataset_44063.pq + # but is no longer reachable. + # TODO: switch to https://data.openml.org/datasets/0004/44063/dataset_44063.pq + # once possible. "https://github.com/scikit-learn/examples-data/raw/refs/heads/master/bike-sharing-demand/dataset_44063.pq", sha256="d120af76829af0d256338dc6dd4be5df4fd1f35bf3a283cab66a51c1c6abd06a", )