Disclaimer

This is not in the study design, however, our teacher has done this in a previous SAC.

Question

Process

  1. Find the equation of an actual line that is a decent hyperplane: Here, a good hyperplane would be a linear line in the middle of the points (2,3) and (4,5). Note that the gradient of the line would be (perpendicular to the line that joins the two support vectors). Hence, note that our line would be: . Rearranging, we get .
  2. Note down the proportion of the weights and find a relationship between the weights: The weights must be proportional to the coefficients of the line. Hence, . Therefore, .
  3. Create new equations that satisfy the class +1 and -1 equations: Recall that support vectors must satisfy the margin equations:
    • - positive class vectors
    • - negative class vectors Substituting points, this yields:
  4. Solve the equations for the weights and biases, by using the relation from step 2: Solving yields .