Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

svm with foreach and doMC

library(e1071)  
svm_fit<-svm(y~x1+x2+x3,data=training)  
svm_predictions<-predict(svm_fit,newdata=testing)  
error<-sqrt((sum((testing$y-svm_predictions)^2))/nrow(testing))  
error  
Source by www.vikparuchuri.com #
 
PREVIOUS NEXT
Tagged: #svm #foreach #doMC
ADD COMMENT
Topic
Name
8+2 =