Professional Documents
Culture Documents
Question 2.5.1
K: 2
Sum of squares: 8.430164e+05 p1: 77 p2: 46 p3: 6.150000e+01
K: 4
Sum of squares: 7.663217e+05 p1: 54 p2: 84 p3: 69
K: 6
Sum of squares: 7.399330e+05 p1: 45 p2: 92 p3: 6.850000e+01
Question 2.5.2
K: 6
Iterations: 4
Question 2.5.3
Question 3
Question 3.4.2
Default LibSVM parameters
Cross Validation Accuracy = 15.6443%
Question 3.4.3
Grid search was performed to tune C and gamma (RBF kernel),
Below is the combination of parameters showing highest cross validation accuracy:
C: 100 G: 1 Cross Validation Accuracy = 92.009%
C: 10000 G: 1.0e-03 Cross Validation Accuracy = 90.9398%
Again grid search was used for kernel parameter gamma and SVM
parameter C for tuning
Below is the one of combination with best Cross Validation Accuracy.
C: 22 G: 50 Cross Validation Accuracy = 93.4159%
Question 3.4.6
Accuracy on test set: 76.8%