Control whether to show the plot immediately.
Plotting decision boundary for logistic regression.
Added prediction for a single data point.