DOC Ensure plot_det_curve passes numpydoc validation (#24334)
This commit is contained in:
parent
bc40e30b64
commit
37e2ffd7a1
|
|
@ -370,18 +370,18 @@ def plot_det_curve(
|
|||
):
|
||||
"""Plot detection error tradeoff (DET) curve.
|
||||
|
||||
Extra keyword arguments will be passed to matplotlib's `plot`.
|
||||
|
||||
Read more in the :ref:`User Guide <visualizations>`.
|
||||
|
||||
.. versionadded:: 0.24
|
||||
|
||||
.. deprecated:: 1.0
|
||||
`plot_det_curve` is deprecated in 1.0 and will be removed in
|
||||
1.2. Use one of the following class methods:
|
||||
:func:`~sklearn.metrics.DetCurveDisplay.from_predictions` or
|
||||
:func:`~sklearn.metrics.DetCurveDisplay.from_estimator`.
|
||||
|
||||
Extra keyword arguments will be passed to matplotlib's `plot`.
|
||||
|
||||
Read more in the :ref:`User Guide <visualizations>`.
|
||||
|
||||
.. versionadded:: 0.24
|
||||
|
||||
Parameters
|
||||
----------
|
||||
estimator : estimator instance
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ FUNCTION_DOCSTRING_IGNORE_LIST = [
|
|||
"sklearn.decomposition._dict_learning.dict_learning",
|
||||
"sklearn.externals._packaging.version.parse",
|
||||
"sklearn.inspection._plot.partial_dependence.plot_partial_dependence",
|
||||
# sklearn.deprecation._update_doc is updating the doc against the numpydoc.
|
||||
# This will be fixed with issue: #24328
|
||||
"sklearn.metrics._plot.det_curve.plot_det_curve",
|
||||
"sklearn.metrics._plot.precision_recall_curve.plot_precision_recall_curve",
|
||||
"sklearn.metrics._ranking.dcg_score",
|
||||
|
|
|
|||
Loading…
Reference in New Issue