Skip to content

Commit c8cfc90

Browse files
authored
doc update (#1077)
* doc update * fixes
1 parent 3aee2e0 commit c8cfc90

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

doc/usage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Docker
7676

7777
It is also possible to try out the latest development version of ``openml-python`` with docker:
7878

79-
```
80-
docker run -it openml/openml-python
81-
```
79+
80+
``docker run -it openml/openml-python``
81+
8282

8383

8484
See the `openml-python docker documentation <https://github.com/openml/openml-python/blob/main/docker/readme.md>`_ for more information.

openml/extensions/sklearn/extension.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@
6565

6666

6767
class SklearnExtension(Extension):
68-
"""Connect scikit-learn to OpenML-Python."""
68+
"""Connect scikit-learn to OpenML-Python.
69+
The estimators which use this extension must be scikit-learn compatible,
70+
i.e needs to be a subclass of sklearn.base.BaseEstimator".
71+
"""
6972

7073
################################################################################################
7174
# General setup

0 commit comments

Comments
 (0)