Notes From The Workbench

A blog about tools, ideas, and the routines.

omscs-ml

[omscs-ml] Support Vector Machine:从几何直觉到 Kernel SVM

这篇笔记整理 SVM 的核心概念: 1. SVM 想找什么分类边界 2. xx、ww、bb 分别是什么 3. 为什么 ww 垂直于分类平面 4. 为什么 margin 是 2∥w∥\frac{2}{\|w\|} 5. hard margin SVM 的优化目标 6. Lagrange multiplier 和 dual form 7. support v

[omscs-ml] 从 Dot Product 到 Cosine Similarity,再到 Pearson Correlation

这篇笔记整理的是这几个概念之间的关系: 1. 为什么 a⋅b=∥a∥∥b∥cos⁡θa\cdot b = \|a\|\|b\|\cos \theta 2. 为什么 dot product 为 0 表示两个向量垂直 3. cosine similarity 为什么就是 cos⁡θ\cos \theta 4. Pearson correlation 为什么可以理解成 mean cen