Skip to content

Commit 9c9ad7e

Browse files
committed
Pushing the docs to dev/ for branch: main, commit 7ec1bfc2ab7425bcd984d631b5bfeb9082ce11bf
1 parent c9af39e commit 9c9ad7e

File tree

1,255 files changed

+4445
-4505
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,255 files changed

+4445
-4505
lines changed
Binary file not shown.
Binary file not shown.

dev/_downloads/acc6f0183d4b7293ae5914724f55bc28/plot_gradient_boosting_categorical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
one_hot_encoder = make_column_transformer(
9898
(
99-
OneHotEncoder(sparse=False, handle_unknown="ignore"),
99+
OneHotEncoder(sparse_output=False, handle_unknown="ignore"),
100100
make_column_selector(dtype_include="category"),
101101
),
102102
remainder="passthrough",

dev/_downloads/cd5de29451c4f8624f47d18def81839c/plot_gradient_boosting_categorical.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
},
7070
"outputs": [],
7171
"source": [
72-
"from sklearn.preprocessing import OneHotEncoder\n\none_hot_encoder = make_column_transformer(\n (\n OneHotEncoder(sparse=False, handle_unknown=\"ignore\"),\n make_column_selector(dtype_include=\"category\"),\n ),\n remainder=\"passthrough\",\n)\n\nhist_one_hot = make_pipeline(\n one_hot_encoder, HistGradientBoostingRegressor(random_state=42)\n)"
72+
"from sklearn.preprocessing import OneHotEncoder\n\none_hot_encoder = make_column_transformer(\n (\n OneHotEncoder(sparse_output=False, handle_unknown=\"ignore\"),\n make_column_selector(dtype_include=\"category\"),\n ),\n remainder=\"passthrough\",\n)\n\nhist_one_hot = make_pipeline(\n one_hot_encoder, HistGradientBoostingRegressor(random_state=42)\n)"
7373
]
7474
},
7575
{

dev/_downloads/scikit-learn-docs.zip

3.27 KB
Binary file not shown.
26 Bytes
25 Bytes
-202 Bytes
-212 Bytes
-9 Bytes

0 commit comments

Comments
 (0)