Tested SVM for polynomial and RBF kernels