Mlxtend: Plot Decision Regions of Your ML Classifiers

A decision region plot can help understand how a machine learning classifier assigns a class to a sample.

You can use the plot_decision_regions function from the mlxtend library to create such a plot for classifiers like Logistic Regression, Random Forest, RBF kernel SVM, and Ensemble classifier.

Code to create the plot above.

Link to Mlxtend.

Scroll to Top