Skip to content

Commit ef3629a

Browse files
committed
Merge pull request abidrahmank#21 from vihari/patch-2
Update py_svm_basics.rst
2 parents c31eb9d + 95ce0fd commit ef3629a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/py_tutorials/py_ml/py_svm/py_svm_basics/py_svm_basics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ Let us define a kernel function :math:`K(p,q)` which does a dot product between
6262

6363
.. math::
6464
65-
K(p,q) = \phi(p).\phi(q) &= \phi(p)^T \phi(q) \\
65+
K(p,q) = \phi(p).\phi(q) &= \phi(p)^T , \phi(q) \\
6666
&= (p_{1}^2,p_{2}^2,\sqrt{2} p_1 p_2).(q_{1}^2,q_{2}^2,\sqrt{2} q_1 q_2) \\
67-
&= p_1 q_1 + p_2 q_2 + 2 p_1 q_1 p_2 q_2 \\
67+
&= p_{1}^2 q_{1}^2 + p_{2}^2 q_{2}^2 + 2 p_1 q_1 p_2 q_2 \\
6868
&= (p_1 q_1 + p_2 q_2)^2 \\
6969
\phi(p).\phi(q) &= (p.q)^2
7070

0 commit comments

Comments
 (0)