Data Science, Machine Learning, Support Vector Machine, Python.
trying to look for is the w and b value in the hyperplane equations, such that we can say wᵀxᵢ + b > 0 ⟶ yᵢ = 1 wᵀxᵢ + b < 0 ⟶ yᵢ = -1 This behavior can simply by using the sign function such that yᵢ = sign(wᵀxᵢ + b) So, remember we want to maximize the margin, to do so, we need to find the values