The Optimization Behind SVM: Primal and Dual Form