From 9cebcf6b3b049e473e69dd057fe5a7d1338cf7ae Mon Sep 17 00:00:00 2001 From: Pankaj Jindal <36332727+jindalpankaj@users.noreply.github.com> Date: Sat, 2 May 2020 20:55:26 -0700 Subject: [PATCH] Correcting an attribute's name What does this implement/fix? Explain your changes. Adding an underscore in the attribute n_support in the end to correct it to n_support_. This attribute shows the number of support vectors for an SVC class. --- doc/modules/svm.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/modules/svm.rst b/doc/modules/svm.rst index 23dc7fbf67b65..8acebc79e412e 100644 --- a/doc/modules/svm.rst +++ b/doc/modules/svm.rst @@ -90,7 +90,7 @@ After being fitted, the model can then be used to predict new values:: SVMs decision function (detailed in the :ref:`svm_mathematical_formulation`) depends on some subset of the training data, called the support vectors. Some properties of these support vectors can be found in attributes -``support_vectors_``, ``support_`` and ``n_support``:: +``support_vectors_``, ``support_`` and ``n_support_``:: >>> # get support vectors >>> clf.support_vectors_