Displaying 1 result from an estimated 1 matches for "isexplosive".
Did you mean:
explosive
2012 Nov 15
1
Can't see what i did wrong..
with
pred.pca<-predict(splits[[i]]$pca,trainingData at samples)[,1:nPCs]
dframe<-as.data.frame(cbind(pred.pca,class=isExplosive(trainingData,2)));
results[[i]]$classifier<-ksvm(class~.,data=dframe,scaled=T,kernel="polydot",type="C-svc",
C=C,kpar=list(degree=degree,scale=scale,offset=offset),prob.model=T)
and a degree of 5 i get an error of 0 reported by the ksvm object. But when doing
pred.pca<...