Data Science, Machine Learning, Algorithms, Support Vector Machine, Supervised Learning.
along with the dataset. Dataset after classification, with decision boundary (full line), margin (dashed lines) and support vectors marked with a circle. Here’s the code to plot the decision boundary and margins. fig, ax = plt.subplots(figsize=(12, 7)) # Removing to and right border