diff --git a/sklearn/svm/_classes.py b/sklearn/svm/_classes.py index ae7a816251340..10d97122e1ba4 100644 --- a/sklearn/svm/_classes.py +++ b/sklearn/svm/_classes.py @@ -739,7 +739,9 @@ class SVC(BaseSVC): :term:`predict` will break ties according to the confidence values of :term:`decision_function`; otherwise the first class among the tied classes is returned. Please note that breaking ties comes at a - relatively high computational cost compared to a simple predict. + relatively high computational cost compared to a simple predict. See + :ref:`sphx_glr_auto_examples_svm_plot_svm_tie_breaking.py` for an + example of its usage with ``decision_function_shape='ovr'``. .. versionadded:: 0.22 @@ -1006,6 +1008,8 @@ class NuSVC(BaseSVC): :term:`decision_function`; otherwise the first class among the tied classes is returned. Please note that breaking ties comes at a relatively high computational cost compared to a simple predict. + See :ref:`sphx_glr_auto_examples_svm_plot_svm_tie_breaking.py` for an + example of its usage with ``decision_function_shape='ovr'``. .. versionadded:: 0.22