Hey guys, I was trying to understand the relationship between the decision boundary and threshold. In week 3, we say that the decision boundary is defined by when w.x+b=0 and this is when g(z) >=0.5
What confuses me here is, say if i choose the threshold as 0.2 where y_pred = 1 when g(z)>=0.2. Will this change the equation for my decision boundary?
Or are these 2 independent and I’m confusing the decision boundary and threshold?
Hi adishri,
1.5 years later, I have the same question: why is y_pred = 1 in the ellipse? (and also in the more complex decision boundary below the ellipse)
It seems to be a typo to me. Did you get an answer?
Whether the 1’s are inside the boundary or outside depends on how the data set is labeled. The weights will be learned (including the sign of the weights) based on the training data.
Since the figure doesn’t provide any training data, or any values for the weights, you can’t really derive the solution from that image.