I am unable to understand how decision boundary is calculated once we get the coefficients of the model.
Here is the link that I am referring: http://scikit-learn.org/stable/auto_examples/svm/plot_svm_margin.html
Here is the code
# get the separating hyperplane
w = clf.coef_[0]
a = -w[0] / w[1]
xx = np.linspace(-5, 5)
yy = a * xx - (clf.intercept_[0]) / w[1]
I didn't understand a = -w[0] / w[1]
this line.
Why we are dividing one coefficient with another?