Skip to content

Commit 0340c75

Browse files
committed
Changed orders of docstring descriptions for polynomial_kernel
1 parent 159e51e commit 0340c75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/metrics/pairwise.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,13 +730,13 @@ def polynomial_kernel(X, Y=None, degree=3, gamma=None, coef0=1):
730730
731731
Y : ndarray of shape (n_samples_2, n_features)
732732
733+
degree : int, default 3
734+
733735
gamma : float, default None
734736
if None, defaults to 1.0 / n_samples_1
735737
736738
coef0 : int, default 1
737739
738-
degree : int, default 3
739-
740740
Returns
741741
-------
742742
Gram matrix : array of shape (n_samples_1, n_samples_2)

0 commit comments

Comments
 (0)