Data Science, Machine Learning, Support Vector Machine, Python.
yᵢ) = 0 Solving these equations gives us: sum(αᵢ * yᵢ * xᵢ) = w sum(αᵢ * yᵢ) = 0 If we substitute these values back into the Lagrangian function, we get the dual form of the problem as following: sum(αᵢ) — (1/2) sum(αᵢ * αⱼ * yᵢ* yⱼ* (xᵢᵀ xⱼ)) subject to: αᵢ >= 0 for all i sum(αᵢ * yᵢ) = 0 (NOTE: