8000 DOC references for probabilistic SVC (#12859) · scikit-learn/scikit-learn@0cf8a16 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cf8a16

Browse files
tashayjnothman
authored andcommitted
DOC references for probabilistic SVC (#12859)
1 parent 2955129 commit 0cf8a16

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

sklearn/svm/classes.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,9 @@ class SVC(BaseSVC):
563563
probability=False, an empty array. Platt scaling uses the logistic
564564
function
565565
``1 / (1 + exp(decision_value * probA_ + probB_))``
566-
where ``probA_`` and ``probB_`` are learned from the dataset. For more
567-
information on the multiclass case and training procedure see section
568-
8 of LIBSVM: A Library for Support Vector Machines (in References)
569-
for more.
566+
where ``probA_`` and ``probB_`` are learned from the dataset [2]_. For
567+
more information on the multiclass case and training procedure see
568+
section 8 of [1]_.
570569
571570
Examples
572571
--------
@@ -593,11 +592,14 @@ class SVC(BaseSVC):
593592
implemented using liblinear. Check the See also section of
594593
LinearSVC for more comparison element.
595594
596-
Notes
597-
-----
598-
**References:**
599-
`LIBSVM: A Library for Support Vector Machines
600-
<http://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf>`__
595+
References
596+
----------
597+
.. [1] `LIBSVM: A Library for Support Vector Machines
598+
<http://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf>`_
599+
600+
.. [2] `Platt, John (1999). "Probabilistic outputs for support vector
601+
machines and comparison to regularizedlikelihood methods."
602+
<http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.41.1639>`_
601603
"""
602604

603605
_impl = 'c_svc'

0 commit comments

Comments
 (0)
0