From a66332a55cd23e5c9b834cfa423977340a18d407 Mon Sep 17 00:00:00 2001 From: sahithyaravi1493 Date: Mon, 10 May 2021 17:54:24 +0200 Subject: [PATCH 1/2] doc update --- openml/extensions/sklearn/extension.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openml/extensions/sklearn/extension.py b/openml/extensions/sklearn/extension.py index 5991a7044..08a14b0ef 100644 --- a/openml/extensions/sklearn/extension.py +++ b/openml/extensions/sklearn/extension.py @@ -65,7 +65,10 @@ class SklearnExtension(Extension): - """Connect scikit-learn to OpenML-Python.""" + """Connect scikit-learn to OpenML-Python. + The estimators which use this extension must be scikit-learn compatible', + i.e needs to be a subclass of sklearn.base.BaseEstimator". + """ ################################################################################################ # General setup From 7c8479ff660ee394667e08a8dad32688a86dea3e Mon Sep 17 00:00:00 2001 From: sahithyaravi1493 Date: Wed, 12 May 2021 10:15:24 +0200 Subject: [PATCH 2/2] fixes --- doc/usage.rst | 6 +++--- openml/extensions/sklearn/extension.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/usage.rst b/doc/usage.rst index 4b40decc8..b69e3530a 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -76,9 +76,9 @@ Docker It is also possible to try out the latest development version of ``openml-python`` with docker: -``` - docker run -it openml/openml-python -``` + + ``docker run -it openml/openml-python`` + See the `openml-python docker documentation `_ for more information. diff --git a/openml/extensions/sklearn/extension.py b/openml/extensions/sklearn/extension.py index 08a14b0ef..d49a9a9c5 100644 --- a/openml/extensions/sklearn/extension.py +++ b/openml/extensions/sklearn/extension.py @@ -66,7 +66,7 @@ class SklearnExtension(Extension): """Connect scikit-learn to OpenML-Python. - The estimators which use this extension must be scikit-learn compatible', + The estimators which use this extension must be scikit-learn compatible, i.e needs to be a subclass of sklearn.base.BaseEstimator". """