[R] Pattern match

2011-04-20 Thread Neeti
Hi ALL, I have very simple question regarding pattern matching. Could anyone tell me how to I can use R to retrieve string pattern from text file. for example my file contain following information SpeciesCommon=(Human);SpeciesScientific=(Homo sapiens);ReactiveCentres=(N,C,C,C,+ H,O,C,C,C,C,O,H);

[R] part or semi-partial correlation in R

2011-02-27 Thread Neeti Sinha
advance -- Neeti Ph.D. Candidate, Graduate School of Geography Clark University Worcester MA 01610 ** "Happiness is when what you think, what you say, and what you do are in harmony" - M.K. Gandhi __ R-help@r-project.org ma

[R] Comparison between Train and SVM method

2011-02-08 Thread Neeti
Hi all, I am struggling to understand kernel based method. I am trying to understand two SVM method (CARET::train and e1071::svm()) I will try to put my question in following points: 1. About e1071::svm(), on what basis the final model is selected when we use cross =10 parameter in svm()

Re: [R] Train error:: subscript out of bonds

2011-01-26 Thread Neeti
Thank you so much for your reply. In my case it is giving error in some seed value for example if I set seed value to 357 this gives an error. Does train have some specific seed range? -- View this message in context: http://r.789695.n4.nabble.com/Train-error-subscript-out-of-bonds-tp3234510p323

Re: [R] Train error:: subscript out of bonds

2011-01-26 Thread Neeti
What I have understood in CARET train() method is that train() itself does the model selection and tune the parameter. (please correct me if I am wrong). That was my first motivation to select this package and method for fitting the model. And use the parameter to e1071 svm() method and compare th

Re: [R] Train error:: subscript out of bonds

2011-01-25 Thread Neeti
after using options(error=utils::recover) option, following is the output. if i am correct this means that in ksvm there is some problem, but really could not understand. could anyone please tell me what is wrong... any help will be great thank you so much.. Enter a frame number, or 0 to

Re: [R] Train error:: subscript out of bonds

2011-01-25 Thread Neeti
Version: R = 2.11.1 CARET = 4.68 -- View this message in context: http://r.789695.n4.nabble.com/Train-error-subscript-out-of-bonds-tp3234510p3236251.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list ht

[R] Train error:: subscript out of bonds

2011-01-24 Thread Neeti
Hi, I am trying to construct a svmpoly model using the "caret" package (please see code below). Using the same data, without changing any setting, I am just changing the seed value. Sometimes it constructs the model successfully, and sometimes I get an “Error in indexes[[j]] : subscript out of bou

Re: [R] book about

2010-12-03 Thread Neeti
think this might help you for start. http://www.kernel-machines.org/frequently-asked-questions :) -- View this message in context: http://r.789695.n4.nabble.com/book-about-support-vector-machines-tp3071210p3071218.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] cross validation using e1071:SVM

2010-11-24 Thread Neeti
thank you so much for your help. if i am not wrong then createDataPartition can be used to create stratified random splits of a data set. is there other way to do that? Thank you -- View this message in context: http://r.789695.n4.nabble.com/cross-validation-using-e1071-SVM-tp3055335p3057684.

Re: [R] cross validation using e1071:SVM

2010-11-23 Thread Neeti
could anyone help me with my last problem. if the question is not clear please let me know thank you Hi everyone I am trying to do cross validation (10 fold CV) by using e1071:svm method. I know that there is an option (“cross”) for cross validation but still I wanted to make a funct

Re: [R] cross validation using e1071:SVM

2010-11-23 Thread Neeti
@Francial Giscard LIBENGUE please post your query again so that with different subject -- View this message in context: http://r.789695.n4.nabble.com/cross-validation-using-e1071-SVM-tp3055335p3055831.html Sent from the R help mailing list archive at Nabble.com. _

[R] cross validation using e1071:SVM

2010-11-23 Thread Neeti
Hi everyone I am trying to do cross validation (10 fold CV) by using e1071:svm method. I know that there is an option (“cross”) for cross validation but still I wanted to make a function to Generate cross-validation indices using pls: cvsegments method. #

[R] ksvm problem

2010-10-29 Thread Neeti
Hi to all! When I use the example from kernlab::ksvm this works fine.. Give me the result… > filter <- > ksvm(type~.,data=spamtrain,kernel="rbfdot",kpar=list(sigma=0.05),C=5,cross=3) But as soon as I change the type data as follows > type_train<-spamtrain[,ncol(spamtrain)] > filter <- > ks

Re: [R] to determine the variable importance in svm

2010-10-27 Thread Neeti
thank you so much for your suggestion, i will use caret package is ipred:errorest method is good enough for validating (or cross check) my svm result? -- View this message in context: http://r.789695.n4.nabble.com/to-determine-the-variable-importance-in-svm-tp3013817p3015172.html Sent from the

[R] to determine the variable importance in svm

2010-10-26 Thread Neeti
hii everyone!! i have two questions: 1) How to obtain a variable (attribute) importance using e1071:SVM (or other svm methods)? 2) how to validate the results of svm? currently i am using the following code to determine the error. library(ipred) for(i in 1:20) error.model1[i]<- errorest(Spec

Re: [R] about libsvm

2010-10-22 Thread Neeti
thank you so much.. but i could not understand which parameter should i use? -- View this message in context: http://r.789695.n4.nabble.com/about-libsvm-tp3007214p3007500.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-projec

[R] about libsvm

2010-10-22 Thread Neeti
hii all!!! could anyone tell me how to use libsvm in R.. i am not able to find good way to use it -- View this message in context: http://r.789695.n4.nabble.com/about-libsvm-tp3007214p3007214.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] SVM functions

2010-10-06 Thread Neeti
What are the ways by which one can validate the SVM results and its significance? Are there any papers or articles regarding my question? Please do let me know. Thank you. -- View this message in context: http://r.789695.n4.nabble.com/SVM-functions-tp2955768p2964945.html Sent from the R help m

Re: [R] SVM functions

2010-10-06 Thread Neeti
hi, Thanks for this suggestion. svm function in e1071 is working fine. As I want multi classification, I would like to understand the differences in these packages and the results (based on the parameter). So that it would be easy to select the best package for my data. -- View this message

Re: [R] SVM functions

2010-10-05 Thread Neeti
It would be nice if you suggest me the steps to check whether svmlight is present in my system or not? -- View this message in context: http://r.789695.n4.nabble.com/SVM-functions-tp2955768p2956384.html Sent from the R help mailing list archive at Nabble.com. ___

[R] SVM functions

2010-10-05 Thread Neeti
Hi ! Right now I am learning to use svm functions available in R and trying to use these function with given example. I was stuck with svmlight function which is available in klaR package. Any help would be appreciated regarding this function. 1. I am unable to use svmlight( ) which is av

Re: [R] help regarding the package installation

2010-10-01 Thread Neeti
Thank you so much... it is working fine -- View this message in context: http://r.789695.n4.nabble.com/help-regarding-the-package-installation-tp2894726p2925020.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mail

[R] help regarding the package installation

2010-10-01 Thread Neeti
hii everyone! Recently i have started working with R and it would be nice if anyone can help me with this. I am vista user (32 bit). I wanted to install package in my parent directory i.e .Library. whenever I try to install nnet (package) it is showing me the following error: > install.packag

[R] help regarding the package installation

2010-10-01 Thread Neeti
hii everyone! Recently i have started working with R and it would be nice if anyone can help me with this. I am vista user (32 bit). I wanted to install package in my parent directory i.e .Library. whenever I try to install nnet (package) it is showing me the following error: > install.packages(