- python3
- matplotlib
- numpy
- sklearn
Execute python3 main.py. Right Double click will add blue dots, left double click will add red dots. Single click left or right will remove the nearest point.
Inspired by https://scikit-learn.org/0.18/auto_examples/svm/plot_iris.html and https://towardsdatascience.com/support-vector-machines-svm-clearly-explained-a-python-tutorial-for-classification-problems-29c539f3ad8