diff --git a/doc/modules/svm.rst b/doc/modules/svm.rst index eec8bf019bfe3db8be0fd69ff220b99651a761f6..37f72522d67ac3c457e53a9da374dd33e539cfdb 100644 --- a/doc/modules/svm.rst +++ b/doc/modules/svm.rst @@ -67,8 +67,8 @@ assumed to be linear. It also lacks some of the members of As other classifiers, :class:`SVC`, :class:`NuSVC` and :class:`LinearSVC` take as input two arrays: an array X of size ``[n_samples, -n_features]`` holding the training samples, and an array Y of integer values, -size ``[n_samples]``, holding the class labels for the training samples:: +n_features]`` holding the training samples, and an array y of class labels +(strings or integers), size ``[n_samples]``:: >>> from sklearn import svm