Skip to content

Commit 4cfd824

Browse files
committed
Pushing the docs to dev/ for branch: master, commit 4f5384b249c488ada8dd012bdc029600ac912917
1 parent cf9940b commit 4cfd824

File tree

1,183 files changed

+3703
-3709
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,183 files changed

+3703
-3709
lines changed
Binary file not shown.

dev/_downloads/7ee55c12f8d3eb1dd8d2005d9dd7b6f1/plot_release_highlights_0_22_0.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,21 @@
225225
# ---------------------------------------------------
226226
# Developers can check the compatibility of their scikit-learn compatible
227227
# estimators using :func:`~utils.estimator_checks.check_estimator`. For
228-
# instance, the ``check_estimator(LinearSVC)`` passes.
228+
# instance, the ``check_estimator(LinearSVC())`` passes.
229229
#
230230
# We now provide a ``pytest`` specific decorator which allows ``pytest``
231231
# to run all checks independently and report the checks that are failing.
232+
#
233+
# ..note::
234+
# This entry was slightly updated in version 0.24, where passing classes
235+
# isn't supported anymore: pass instances instead.
232236

233237
from sklearn.linear_model import LogisticRegression
234238
from sklearn.tree import DecisionTreeRegressor
235239
from sklearn.utils.estimator_checks import parametrize_with_checks
236240

237241

238-
@parametrize_with_checks([LogisticRegression, DecisionTreeRegressor])
242+
@parametrize_with_checks([LogisticRegression(), DecisionTreeRegressor()])
239243
def test_sklearn_compatible_estimator(estimator, check):
240244
check(estimator)
241245

dev/_downloads/c101b602d0b3510ef47dd19d64a4a92b/plot_release_highlights_0_22_0.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
"cell_type": "markdown",
167167
"metadata": {},
168168
"source": [
169-
"Checking scikit-learn compatibility of an estimator\n---------------------------------------------------\nDevelopers can check the compatibility of their scikit-learn compatible\nestimators using :func:`~utils.estimator_checks.check_estimator`. For\ninstance, the ``check_estimator(LinearSVC)`` passes.\n\nWe now provide a ``pytest`` specific decorator which allows ``pytest``\nto run all checks independently and report the checks that are failing.\n\n"
169+
"Checking scikit-learn compatibility of an estimator\n---------------------------------------------------\nDevelopers can check the compatibility of their scikit-learn compatible\nestimators using :func:`~utils.estimator_checks.check_estimator`. For\ninstance, the ``check_estimator(LinearSVC())`` passes.\n\nWe now provide a ``pytest`` specific decorator which allows ``pytest``\nto run all checks independently and report the checks that are failing.\n\n..note::\n This entry was slightly updated in version 0.24, where passing classes\n isn't supported anymore: pass instances instead.\n\n"
170170
]
171171
},
172172
{
@@ -177,7 +177,7 @@
177177
},
178178
"outputs": [],
179179
"source": [
180-
"from sklearn.linear_model import LogisticRegression\nfrom sklearn.tree import DecisionTreeRegressor\nfrom sklearn.utils.estimator_checks import parametrize_with_checks\n\n\n@parametrize_with_checks([LogisticRegression, DecisionTreeRegressor])\ndef test_sklearn_compatible_estimator(estimator, check):\n check(estimator)"
180+
"from sklearn.linear_model import LogisticRegression\nfrom sklearn.tree import DecisionTreeRegressor\nfrom sklearn.utils.estimator_checks import parametrize_with_checks\n\n\n@parametrize_with_checks([LogisticRegression(), DecisionTreeRegressor()])\ndef test_sklearn_compatible_estimator(estimator, check):\n check(estimator)"
181181
]
182182
},
183183
{
Binary file not shown.

dev/_downloads/scikit-learn-docs.pdf

-13.6 KB
Binary file not shown.

dev/_images/iris.png

0 Bytes

0 commit comments

Comments
 (0)