[R] Applying SVM model to a new data

m_r_nour m_r_nour at yahoo.com
Sun Mar 21 19:40:06 CET 2010


Hi

I'm using Libsvm, I made a function to save models, confusion matrix of
different models

but when I want to use saved model, I can't


let suppose output of function is :

models=list(model1,model2,....)

but how can I use these models? using predict(models[[1]],y) causes error
message:

"Error in UseMethod("predict") : 
  no applicable method for 'predict' applied to an object of class "list"



thanks

Regards

-- 
View this message in context: http://n4.nabble.com/Applying-SVM-model-to-a-new-data-tp1676864p1676864.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list