python perceptron.py python perceptron_dual.py And here's the results on validation set, change SEED in code to have random results.