支持向量机SVM(Support Vector Machine)学习

这个是我众多博客里,最能看懂的一个了,给博主点赞!
博客

基础知识

- 点到超平面的距离
支持向量机SVM(Support Vector Machine)学习
参考:https://blog.csdn.net/jcjx0315/article/details/61929439
- 向量的点积

uTv=uvcosθ=up=u1v1+u2v2u^Tv=||u||\cdot||v||\cdot cos\theta=||u||\cdot p=u_1v_1+u_2v_2
其中,p是v在u上的投影,u=[u1u2]u=\begin{bmatrix}u_1\\u_2\end{bmatrix}v=[v1v2]v=\begin{bmatrix}v_1\\v_2\end{bmatrix}