Skip to content

Commit b8f2a7c

Browse files
committed
Pushing the docs to dev/ for branch: master, commit 36abde7eed70e809859f91342bce2d8db9e5046a
1 parent e142e62 commit b8f2a7c

File tree

1,214 files changed

+3616
-3622
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,214 files changed

+3616
-3622
lines changed
Binary file not shown.

dev/_downloads/50040ae12dd16e7d2e79135d7793c17e/plot_release_highlights_0_22_0.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@
133133

134134
from sklearn.experimental import enable_hist_gradient_boosting # noqa
135135
from sklearn.ensemble import HistGradientBoostingClassifier
136-
import numpy as np
137136

138137
X = np.array([0, 1, 2, np.nan]).reshape(-1, 1)
139138
y = [0, 0, 1, 1]
@@ -189,7 +188,6 @@
189188
#
190189
# Read more in the :ref:`User Guide <knnimpute>`.
191190

192-
import numpy as np
193191
from sklearn.impute import KNNImputer
194192

195193
X = [[1, 2, np.nan], [3, 4, 3], [np.nan, 6, 5], [8, 8, 7]]
Binary file not shown.

dev/_downloads/df790541d4c6bdebcc75018a2459467a/plot_release_highlights_0_22_0.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
},
8888
"outputs": [],
8989
"source": [
90-
"from sklearn.experimental import enable_hist_gradient_boosting # noqa\nfrom sklearn.ensemble import HistGradientBoostingClassifier\nimport numpy as np\n\nX = np.array([0, 1, 2, np.nan]).reshape(-1, 1)\ny = [0, 0, 1, 1]\n\ngbdt = HistGradientBoostingClassifier(min_samples_leaf=1).fit(X, y)\nprint(gbdt.predict(X))"
90+
"from sklearn.experimental import enable_hist_gradient_boosting # noqa\nfrom sklearn.ensemble import HistGradientBoostingClassifier\n\nX = np.array([0, 1, 2, np.nan]).reshape(-1, 1)\ny = [0, 0, 1, 1]\n\ngbdt = HistGradientBoostingClassifier(min_samples_leaf=1).fit(X, y)\nprint(gbdt.predict(X))"
9191
]
9292
},
9393
{
@@ -123,7 +123,7 @@
123123
},
124124
"outputs": [],
125125
"source": [
126-
"import numpy as np\nfrom sklearn.impute import KNNImputer\n\nX = [[1, 2, np.nan], [3, 4, 3], [np.nan, 6, 5], [8, 8, 7]]\nimputer = KNNImputer(n_neighbors=2)\nprint(imputer.fit_transform(X))"
126+
"from sklearn.impute import KNNImputer\n\nX = [[1, 2, np.nan], [3, 4, 3], [np.nan, 6, 5], [8, 8, 7]]\nimputer = KNNImputer(n_neighbors=2)\nprint(imputer.fit_transform(X))"
127127
]
128128
},
129129
{

dev/_downloads/scikit-learn-docs.pdf

-3.33 KB
Binary file not shown.

dev/_images/iris.png

0 Bytes
-161 Bytes
-161 Bytes
104 Bytes
104 Bytes

0 commit comments

Comments
 (0)