diff --git a/sklearn/svm/_base.py b/sklearn/svm/_base.py index f5b35f39a7daf..2e7dd3d6114b6 100644 --- a/sklearn/svm/_base.py +++ b/sklearn/svm/_base.py @@ -183,6 +183,9 @@ def fit(self, X, y, sample_weight=None): If X is a dense array, then the other methods will not support sparse matrices as input. + + For an example of handling weighed samples with :class:`svm.SVC`s, please see: + :ref:`sphx_glr_auto_examples_svm_plot_weighted_samples.py` """ rnd = check_random_state(self.random_state) diff --git a/sklearn/svm/_classes.py b/sklearn/svm/_classes.py index 8f243937bccf1..cda34bbf7d093 100644 --- a/sklearn/svm/_classes.py +++ b/sklearn/svm/_classes.py @@ -843,7 +843,7 @@ class SVC(BaseSVC): >>> print(clf.predict([[-0.8, -1]])) [1] - For a comparison of the SVC with other classifiers see: + For an example on how to enable probability estimates for SVC, see: :ref:`sphx_glr_auto_examples_classification_plot_classification_probability.py`. """