Skip to content

Commit bf6d010

Browse files
docs: fix borken links after openml.org rework (#1376)
1 parent dae89c0 commit bf6d010

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Further information
7171

7272
* `OpenML documentation <https://docs.openml.org/>`_
7373
* `OpenML client APIs <https://docs.openml.org/APIs/>`_
74-
* `OpenML developer guide <https://docs.openml.org/Contributing/>`_
74+
* `OpenML developer guide <https://docs.openml.org/contributing/Contributing/>`_
7575
* `Contact information <https://www.openml.org/contact>`_
7676
* `Citation request <https://www.openml.org/cite>`_
7777
* `OpenML blog <https://medium.com/open-machine-learning>`_

doc/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ this should be repeated several times. Also, the task defines a target metric
118118
for which a flow should be optimized.
119119

120120
Below you can find our tutorial regarding tasks and if you want to know more
121-
you can read the `OpenML guide <https://docs.openml.org/#tasks>`_:
121+
you can read the `OpenML guide <https://docs.openml.org/concepts/tasks/>`_:
122122

123123
* :ref:`sphx_glr_examples_30_extended_tasks_tutorial.py`
124124

examples/40_paper/2015_neurips_feurer_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@
4949
# this does not allow reproducibility (unclear splitting). Please do not use datasets but the
5050
# respective tasks as basis for a paper and publish task IDS. This example is only given to
5151
# showcase the use of OpenML-Python for a published paper and as a warning on how not to do it.
52-
# Please check the `OpenML documentation of tasks <https://docs.openml.org/#tasks>`_ if you
52+
# Please check the `OpenML documentation of tasks <https://docs.openml.org/concepts/tasks/>`_ if you
5353
# want to learn more about them.
5454

5555
####################################################################################################
5656
# This lists both active and inactive tasks (because of ``status='all'``). Unfortunately,
5757
# this is necessary as some of the datasets contain issues found after the publication and became
5858
# deactivated, which also deactivated the tasks on them. More information on active or inactive
59-
# datasets can be found in the `online docs <https://docs.openml.org/#dataset-status>`_.
59+
# datasets can be found in the `online docs <https://docs.openml.org/concepts/data/#dataset-status>`_.
6060
tasks = openml.tasks.list_tasks(
6161
task_type=openml.tasks.TaskType.SUPERVISED_CLASSIFICATION,
6262
status="all",

openml/datasets/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ def status_update(data_id: int, status: Literal["active", "deactivated"]) -> Non
861861
Updates the status of a dataset to either 'active' or 'deactivated'.
862862
Please see the OpenML API documentation for a description of the status
863863
and all legal status transitions:
864-
https://docs.openml.org/#dataset-status
864+
https://docs.openml.org/concepts/data/#dataset-status
865865
866866
Parameters
867867
----------

openml/runs/functions.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ def run_model_on_task( # noqa: PLR0913
7474
----------
7575
model : sklearn model
7676
A model which has a function fit(X,Y) and predict(X),
77-
all supervised estimators of scikit learn follow this definition of a model
78-
(https://scikit-learn.org/stable/tutorial/statistical_inference/supervised_learning.html)
77+
all supervised estimators of scikit learn follow this definition of a model.
7978
task : OpenMLTask or int or str
8079
Task to perform or Task id.
8180
This may be a model instead if the first argument is an OpenMLTask.
@@ -199,8 +198,7 @@ def run_flow_on_task( # noqa: C901, PLR0912, PLR0915, PLR0913
199198
flow : OpenMLFlow
200199
A flow wraps a machine learning model together with relevant information.
201200
The model has a function fit(X,Y) and predict(X),
202-
all supervised estimators of scikit learn follow this definition of a model
203-
(https://scikit-learn.org/stable/tutorial/statistical_inference/supervised_learning.html)
201+
all supervised estimators of scikit learn follow this definition of a model.
204202
task : OpenMLTask
205203
Task to perform. This may be an OpenMLFlow instead if the first argument is an OpenMLTask.
206204
avoid_duplicate_runs : bool, optional (default=True)

0 commit comments

Comments
 (0)