8000 Linting · scikit-learn/scikit-learn@1f9d38d · GitHub
[go: up one dir, main page]

Skip to content < 8000 div data-target="react-partial.reactRoot">

Commit 1f9d38d

Browse files
Linting
1 parent d51cbe6 commit 1f9d38d

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

sklearn/inspection/_partial_dependence.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,11 @@ def partial_dependence(
327327
.. versionadded:: 0.24
328328
329329
custom_values: dict
330-
A dictionary mapping the index of an element of `features` to an array of values where
331-
the partial dependence should be calculated for that feature. Setting a range
332-
of values for a feature overrides `grid_resolution` and `percentiles`.
330+
A dictionary mapping the index of an element of `features` to an array
331+
of values where the partial dependence should be calculated
332+
for that feature. Setting a range of values for a feature overrides
333+
`grid_resolution` and `percentiles`.
334+
333335
Returns
334336
-------
335337
predictions : :class:`~sklearn.utils.Bunch`

sklearn/inspection/_plot/partial_dependence.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,10 @@ def plot_partial_dependence(
265265
.. versionadded:: 0.24
266266
267267
custom_values: dict
268-
A dictionary mapping the index of an element of `features` to an array of values where
269-
the partial dependence should be calculated for that feature. Setting a range
270-
of values for a feature overrides `grid_resolution` and `percentiles`.
268+
A dictionary mapping the index of an element of `features` to an
269+
array of values where the partial dependence should be calculated
270+
for that feature. Setting a range of values for a feature overrides
271+
`grid_resolution` and `percentiles`.
271272
272273
Returns
273274
-------
@@ -900,9 +901,10 @@ def from_estimator(
900901
See :term:`Glossary <random_state>` for details.
901902
902903
custom_values : dict
903-
A dictionary mapping the index of an element of `features` to an 6968 array of values where
904-
the partial dependence should be calculated for that feature. Setting a range
905-
of values for a feature overrides `grid_resolution` and `percentiles`.
904+
A dictionary mapping the index of an element of `features` to an
905+
array of values where the partial dependence should be calculated
906+
for that feature. Setting a range of values for a feature overrides
907+
`grid_resolution` and `percentiles`.
906908
907909
Returns
908910
-------

0 commit comments

Comments
 (0)
0