Skip to content

Commit 458f867

Browse files
committed
Pushing the docs to dev/ for branch: master, commit 5b8c367b7acca78c074bf7d4ad5eb3e7ec7ec681
1 parent 1c461b5 commit 458f867

File tree

1,218 files changed

+3722
-3719
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,218 files changed

+3722
-3719
lines changed
Binary file not shown.

dev/_downloads/7ee55c12f8d3eb1dd8d2005d9dd7b6f1/plot_release_highlights_0_22_0.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Release Highlights for scikit-learn 0.22
44
========================================
55
6+
.. currentmodule:: sklearn
7+
68
We are pleased to announce the release of scikit-learn 0.22, which comes
79
with many bug fixes and new features! We detail below a few of the major
810
features of this release. For an exhaustive list of all the changes, please
@@ -21,7 +23,7 @@
2123
# Permutation-based feature importance
2224
# ------------------------------------
2325
#
24-
# The :func:`~sklearn.inspection.permutation_importance` can be used to get an
26+
# The :func:`inspection.permutation_importance` can be used to get an
2527
# estimate of the importance of each feature, for any fitted estimator:
2628

2729
from sklearn.ensemble import RandomForestClassifier
@@ -47,8 +49,8 @@
4749
# Native support for missing values for gradient boosting
4850
# -------------------------------------------------------
4951
#
50-
# The :class:`~sklearn.ensemble.HistGradientBoostingClassifier`
51-
# and :class:`~sklearn.ensemble.HistGradientBoostingRegressor` now have native
52+
# The :class:`ensemble.HistGradientBoostingClassifier`
53+
# and :class:`ensemble.HistGradientBoostingRegressor` now have native
5254
# support for missing values (NaNs). This means that there is no need for
5355
# imputing data when training or predicting.
5456

@@ -125,8 +127,8 @@
125127
# sparse graphs as input, to reuse the same graph for multiple estimator fits.
126128
# To use this feature in a pipeline, one can use the `memory` parameter, along
127129
# with one of the two new transformers,
128-
# :class:`~sklearn.neighbors.KNeighborsTransformer` and
129-
# :class:`~sklearn.neighbors.RadiusNeighborsTransformer`. The precomputation
130+
# :class:`neighbors.KNeighborsTransformer` and
131+
# :class:`neighbors.RadiusNeighborsTransformer`. The precomputation
130132
# can also be performed by custom estimators to use alternative
131133
# implementations, such as approximate nearest neighbors methods.
132134
# See more details in the :ref:`User Guide <neighbors_transformer>`.

dev/_downloads/c101b602d0b3510ef47dd19d64a4a92b/plot_release_highlights_0_22_0.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"cell_type": "markdown",
1616
"metadata": {},
1717
"source": [
18-
"\n========================================\nRelease Highlights for scikit-learn 0.22\n========================================\n\nWe are pleased to announce the release of scikit-learn 0.22, which comes\nwith many bug fixes and new features! We detail below a few of the major\nfeatures of this release. For an exhaustive list of all the changes, please\nrefer to the `release notes <changes_0_22>`.\n\nTo install the latest version (with pip)::\n\n pip install -U scikit-learn --upgrade\n\nor with conda::\n\n conda install scikit-learn\n"
18+
"\n========================================\nRelease Highlights for scikit-learn 0.22\n========================================\n\n.. currentmodule:: sklearn\n\nWe are pleased to announce the release of scikit-learn 0.22, which comes\nwith many bug fixes and new features! We detail below a few of the major\nfeatures of this release. For an exhaustive list of all the changes, please\nrefer to the `release notes <changes_0_22>`.\n\nTo install the latest version (with pip)::\n\n pip install -U scikit-learn --upgrade\n\nor with conda::\n\n conda install scikit-learn\n"
1919
]
2020
},
2121
{
2222
"cell_type": "markdown",
2323
"metadata": {},
2424
"source": [
25-
"Permutation-based feature importance\n------------------------------------\n\nThe :func:`~sklearn.inspection.permutation_importance` can be used to get an\nestimate of the importance of each feature, for any fitted estimator:\n\n"
25+
"Permutation-based feature importance\n------------------------------------\n\nThe :func:`inspection.permutation_importance` can be used to get an\nestimate of the importance of each feature, for any fitted estimator:\n\n"
2626
]
2727
},
2828
{
@@ -40,7 +40,7 @@
4040
"cell_type": "markdown",
4141
"metadata": {},
4242
"source": [
43-
"Native support for missing values for gradient boosting\n-------------------------------------------------------\n\nThe :class:`~sklearn.ensemble.HistGradientBoostingClassifier`\nand :class:`~sklearn.ensemble.HistGradientBoostingRegressor` now have native\nsupport for missing values (NaNs). This means that there is no need for\nimputing data when training or predicting.\n\n"
43+
"Native support for missing values for gradient boosting\n-------------------------------------------------------\n\nThe :class:`ensemble.HistGradientBoostingClassifier`\nand :class:`ensemble.HistGradientBoostingRegressor` now have native\nsupport for missing values (NaNs). This means that there is no need for\nimputing data when training or predicting.\n\n"
4444
]
4545
},
4646
{
@@ -112,7 +112,7 @@
112112
"cell_type": "markdown",
113113
"metadata": {},
114114
"source": [
115-
"Precomputed sparse nearest neighbors graph\n------------------------------------------\nMost estimators based on nearest neighbors graphs now accept precomputed\nsparse graphs as input, to reuse the same graph for multiple estimator fits.\nTo use this feature in a pipeline, one can use the `memory` parameter, along\nwith one of the two new transformers,\n:class:`~sklearn.neighbors.KNeighborsTransformer` and\n:class:`~sklearn.neighbors.RadiusNeighborsTransformer`. The precomputation\ncan also be performed by custom estimators to use alternative\nimplementations, such as approximate nearest neighbors methods.\nSee more details in the `User Guide <neighbors_transformer>`.\n\n"
115+
"Precomputed sparse nearest neighbors graph\n------------------------------------------\nMost estimators based on nearest neighbors graphs now accept precomputed\nsparse graphs as input, to reuse the same graph for multiple estimator fits.\nTo use this feature in a pipeline, one can use the `memory` parameter, along\nwith one of the two new transformers,\n:class:`neighbors.KNeighborsTransformer` and\n:class:`neighbors.RadiusNeighborsTransformer`. The precomputation\ncan also be performed by custom estimators to use alternative\nimplementations, such as approximate nearest neighbors methods.\nSee more details in the `User Guide <neighbors_transformer>`.\n\n"
116116
]
117117
},
118118
{
Binary file not shown.

dev/_downloads/scikit-learn-docs.pdf

-1.75 KB
Binary file not shown.

dev/_images/iris.png

0 Bytes
71 Bytes
71 Bytes
-199 Bytes
-199 Bytes

0 commit comments

Comments
 (0)