Skip to content

mcshih/ML_final_projecct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

ML final project


Use model: SVM

total 1692 images

Preprocessing: gray scale => Resize to 64*64

Build 5 classifiers for each attributes.

Validation method:

  • Holdout validation (HV)
  • Cross validation (CV)

take HP attribute for example

kernel: linear

validation method HV(train) HV(test) CV
Score .830 .167 .162
confusion matrix

kernel: poly

validation method HV(train) HV(test) CV
Score .649 .191 .173
confusion matrix

kernel: rbf

validation method HV(train) HV(test) CV
Score .364 .177 .189
confusion matrix

kernel: sigmoid

validation method HV(train) HV(test) CV
Score .188 .169 .172
confusion matrix