Hi: I'm starting a research of Support Vector Regression. I want to obtain a model to predict a property A with a set of property B, C, D, ... This problem is very common for example in QSAR models. I want to know some examples and package that could help me in this way. I know about caret and e1071. But I' don't know if this package can work with continues variables.? Thanks in advance -- View this message in context: http://r.789695.n4.nabble.com/Bigining-with-a-Program-of-SVR-tp3484476p3484476.html Sent from the R help mailing list archive at Nabble.com.
When you say "variable" do you mean predictors or responses? In either case, they do. You can generally tell by reading the help files and looking at the examples. Max On Fri, Apr 29, 2011 at 3:47 PM, ypriverol <ypriverol at gmail.com> wrote:> Hi: > ?I'm starting a research of Support Vector Regression. I want to obtain a > model to predict a property A with > ?a set of property B, C, D, ... ?This problem is very common for example in > QSAR models. I want to know > ?some examples and package that could help me in this way. I know about > caret and e1071. But I' don't > ?know if this package can work with continues variables.? > > Thanks in advance > > -- > View this message in context: http://r.789695.n4.nabble.com/Bigining-with-a-Program-of-SVR-tp3484476p3484476.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Max
well, first of all thank for your answer. I need some example that works with Support Vector Regression. This is the format of my data: VDP V1 V2 .... 9.15 1234.5 10 9.15 2345.6 15 6.7 789.0 12 6.7 234.6 11 3.2 123.6 5 3.2 235.7 8 VDP is the experimental value of the property that i want to predict with the model and more accurate. The other variables V1, V2 ... are the properties to generate the model. I need some examples that introduce me in this field. I read some examples from e1071 but all of them are for classification problems. thanks for your help in advance -- View this message in context: http://r.789695.n4.nabble.com/Bigining-with-a-Program-of-SVR-tp3484476p3492487.html Sent from the R help mailing list archive at Nabble.com.
See the examples at the end of: http://cran.r-project.org/web/packages/caret/vignettes/caretTrain.pdf for a QSAR data set for modeling the log blood-brain barrier concentration. SVMs are not used there but, if you use train(), the syntax is very similar. On Tue, May 3, 2011 at 9:38 AM, ypriverol <ypriverol at gmail.com> wrote:> well, first of all thank for your answer. I need some example that works with > Support Vector Regression. This is the format of my data: > ?VDP ? V1 ? ? ? ?V2 ?.... > ?9.15 ?1234.5 ? 10 > ?9.15 2345.6 15 > ?6.7 ? ?789.0 ? ? 12 > ?6.7 ? ?234.6 ? ? 11 > ?3.2 ? 123.6 ? ? ?5 > ?3.2 ? 235.7 ? ? ?8 > > VDP is the experimental value of the property that i want to predict with > the model and more accurate. The other variables V1, V2 ... are the > properties to generate the model. I need some examples that introduce me in > this field. I read some examples from e1071 but all of them are for > classification problems. > > thanks for your help in advance > > -- > View this message in context: http://r.789695.n4.nabble.com/Bigining-with-a-Program-of-SVR-tp3484476p3492487.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Max
I saw the format of the caret data some days ago. It is possible to convert my csv data with the same data a format as the caret dataset. My idea is to use firstly the same scripts as caret tutorial, then i want to remove problems related with data formats and incompatibilities. Thanks for your time -- View this message in context: http://r.789695.n4.nabble.com/Bigining-with-a-Program-of-SVR-tp3484476p3492746.html Sent from the R help mailing list archive at Nabble.com.
train() uses vectors, matrices and data frames as input. I really think you need to read materials on basic R before proceeding. Go to the R web page. There are introductory materials there. On Tue, May 3, 2011 at 11:19 AM, ypriverol <ypriverol at gmail.com> wrote:> I saw the format of the caret data some days ago. It is possible to convert > my csv data with the same data a format as the caret dataset. My idea is to > use firstly the same scripts as caret tutorial, then i want to remove > problems related with data formats and incompatibilities. > > Thanks for your time > > -- > View this message in context: http://r.789695.n4.nabble.com/Bigining-with-a-Program-of-SVR-tp3484476p3492746.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Max
How can I apply feature selection with caret and support vector regression. -- View this message in context: http://r.789695.n4.nabble.com/Bigining-with-a-Program-of-SVR-tp3484476p3496685.html Sent from the R help mailing list archive at Nabble.com.