Re: Drawing boundary line for PLA
Since we use the sign function, I presume the decision boundary is
g(x) = w'x = 0 (including the bias w_0)
One strategy could be to generate values on the grid [-1,1] x [-1,1], and plot where g evaluates to 0. But that is costly for each iteration. Hopefully there is a better approach.
|