Skip to content

Commit 5d12d42

Browse files
committed
Pushing the docs to dev/ for branch: main, commit b84d67751753cd7ee81b3ede8d3d16951ddc4cef
1 parent c44583a commit 5d12d42

File tree

1,230 files changed

+4392
-4392
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,230 files changed

+4392
-4392
lines changed
Binary file not shown.

dev/_downloads/21b82d82985712b5de6347f382c77c86/plot_partial_dependence.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"cell_type": "markdown",
113113
"metadata": {},
114114
"source": [
115-
"### Analysis of the plots\n\nWe can clearly see on the PDPs (thick blue line) that the median house price\nshows a linear relationship with the median income (top left) and that the\nhouse price drops when the average occupants per household increases (top\nmiddle). The top right plot shows that the house age in a district does not\nhave a strong influence on the (median) house price; so does the average\nrooms per household.\n\nThe ICE curves (light blue lines) complement the analysis: we can see that\nthere are some exceptions, where the house price remain constant with median\nincome and average occupants. On the other hand, while the house age (top\nright) does not have a strong influence on the median house price on average,\nthere seems to be a number of exceptions where the house price increase when\nbetween the ages 15-25. Similar exceptions can be observed for the average\nnumber of rooms (bottom left). Therefore, ICE plots show some individual\neffect which are attenuated by taking the averages.\n\nIn all plots, the tick marks on the x-axis represent the deciles of the\nfeature values in the training data.\n\nWe also observe that :class:`~sklearn.neural_network.MLPRegressor` has much\nsmoother predictions than\n:class:`~sklearn.ensemble.HistGradientBoostingRegressor`.\n\nHowever, it is worth noting that we are creating potential meaningless\nsynthetic samples if features are correlated.\n\n"
115+
"### Analysis of the plots\n\nWe can clearly see on the PDPs (dashed orange line) that the median house price\nshows a linear relationship with the median income (top left) and that the\nhouse price drops when the average occupants per household increases (top\nmiddle). The top right plot shows that the house age in a district does not\nhave a strong influence on the (median) house price; so does the average\nrooms per household.\n\nThe ICE curves (light blue lines) complement the analysis: we can see that\nthere are some exceptions, where the house price remain constant with median\nincome and average occupants. On the other hand, while the house age (top\nright) does not have a strong influence on the median house price on average,\nthere seems to be a number of exceptions where the house price increase when\nbetween the ages 15-25. Similar exceptions can be observed for the average\nnumber of rooms (bottom left). Therefore, ICE plots show some individual\neffect which are attenuated by taking the averages.\n\nIn all plots, the tick marks on the x-axis represent the deciles of the\nfeature values in the training data.\n\nWe also observe that :class:`~sklearn.neural_network.MLPRegressor` has much\nsmoother predictions than\n:class:`~sklearn.ensemble.HistGradientBoostingRegressor`.\n\nHowever, it is worth noting that we are creating potential meaningless\nsynthetic samples if features are correlated.\n\n"
116116
]
117117
},
118118
{
Binary file not shown.

dev/_downloads/bcd609cfe29c9da1f51c848e18b89c76/plot_partial_dependence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
# Analysis of the plots
192192
# .....................
193193
#
194-
# We can clearly see on the PDPs (thick blue line) that the median house price
194+
# We can clearly see on the PDPs (dashed orange line) that the median house price
195195
# shows a linear relationship with the median income (top left) and that the
196196
# house price drops when the average occupants per household increases (top
197197
# middle). The top right plot shows that the house age in a district does not

dev/_downloads/scikit-learn-docs.zip

-24.3 KB
Binary file not shown.
-190 Bytes
-13 Bytes
-287 Bytes
-533 Bytes
-73 Bytes

0 commit comments

Comments
 (0)