7-classification-SVM

1920032 3ub90c49 3 92u statistics

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: - (x[1,]+x[4,])/2 > slope <- -b[1]/b[2] > b0 <- pt.on.line[2] slope*pt.on.line[1] > b0 [1] -0.2374401 > x.svm$rho [1] -0.2545045 > bminus <- x[4,2] - slope*x[4,1] > bplus <- x[1,2] - slope*x[1,1] ... > abline(a=b0, b=slope) > abline(a=bminus, b=slope, lty=2) > abline(a=bplus, b=slope, lty=2) Statistics 503, Spring 2013, ISU 28 1.0 1.5 X$/0&%,./&0'&$'&-)' $#&.<.>,&.$/'0)&'! X$/0.9)%'#$00.:3)' G,3")0':)&6))/'\?'B' &-,&'0,&.0F2' '''''yi ( xiTb+b0) ! 1 0.5 1/squared norm b 2.0 <1%$*8$/=-2'/( 0.5 0.6 0.7 0.8 0.9 1.0 alpha Statistics 503, Spring 2013, ISU 29 >$412)*?@ J-)'classifly'#,*A,;)'./'YK' 8.&0','*3,00.4)%%)9.*&0',';%.9'$F'#$./&0'./'#SH M$,90'&-)'9,&,',/9'<$9)3'0"<<,%.)0'./&$' ;;$:. Z/,:3)0')=,<././;'&-)':$"/9,%2 Statistics 503, Spring 2013, ISU 30 A$:&'('0*0=$*1,'&$*1',( Region 2: Sardinia Region 3: North ^3).*?'3./$3).*?',%,*-.9.*' .<#$%&,/&'F$%'0)#,%,&./;?' %)0&'<$0&'/".0,/*) Statistics 503, Spring 2013, ISU 31 3'2$-%*!B< Training and test error are 0. 1$"/9,%2'.0','_H' -2#)%#3,/)'5`' G,%.,:3)07 Za",&.$/'$F'!(+' <$9)3'4&'.0'&-)' /$%<,3'G)*&$% > classifly(data=olive.sub.tr, + model=factor(region)~., + classifier=svm, probability=TRUE, + kernel="linear", n=50000, method="random") Statistics 503, Spring 2013, ISU 32 3'2$-%*!B< Training and test e...
View Full Document

Ask a homework question - tutors are online