Too Long; Didn't Read
How To Plot A Decision Boundary For Machine Learning Algorithms in Python is a popular diagnostic for understanding the decisions made by a classification algorithm is the decision surface. This is a plot that shows how a trained machine learning algorithm predicts a coarse grid across the input feature space. A decision surface plot is a powerful tool for understanding how a given model ‘sees’ the prediction task and how it has decided to divide up the feature space by class label. The complete source code is available at my git repository.