title: Calculating margin and bias for SVM's
body: <p>I apologise for the newbishness of this question in advance but I am stuck. I am trying to solve this question,</p>
  
  <p><img src="https://i.stack.imgur.com/ohqQf.png" alt="enter image description here"></p>
  
  <p>I can do parts i)-1v) but I am stuck on v. I know to calculate the margin y, you do</p>
  
  <pre><code>y=2/||W||
  </code></pre>
  
  <p>and I know that W is the normal to the hyperplane, I just don't know how to calculate it. Is this always</p>
  
  <p><code>W=[1;1]</code> ? </p>
  
  <p>Similarly, the bias, <code>W^T * x + b = 0</code></p>
  
  <p>how do I find the value <code>x</code> from the data points? Thank you for your help.</p>