concept decision boundary in category python
appears as: decision boundary, decision boundary, The decision boundaries

This is an excerpt from Manning's book Math for Programmers: 3D graphics, machine learning, and simulations with Python.
There are two important reasons we’ll implement the more sophisticated logistic regression algorithm rather than doing a gradient descent on the parameters a and b of the decision boundary function, ax + b. The first is that if the decision boundary is close to vertical at any step in the gradient descent, the numbers a and b could get very large and cause numerical issues. The other is that there isn’t an obvious cost function. In the next section, we see how logistic regression takes care of both of these issues so we can search for the best decision boundary using gradient descent.