(Acoss)
Cc : R-help@r-project.org
Objet : Re: [R] SVM - calculating values problem
You could download the package code from CRAN and look yourself at what the
predict function is doing.
Sarah
On Wed, Aug 28, 2019 at 6:35 AM PELE Benoît (Acoss)
mailto:benoit.p...@acoss.fr>> wrote:
You could download the package code from CRAN and look yourself at what the
predict function is doing.
Sarah
On Wed, Aug 28, 2019 at 6:35 AM PELE Benoît (Acoss)
wrote:
> Hello everybody,
>
> That is the first time that I am working on a SVM modeling and I would
> like to calculate by myself
Hello everybody,
That is the first time that I am working on a SVM modeling and I would like to
calculate by myself the result values from the SVM for each line of my database
(named x_appr_svm).
First I tested a linear SVM model using the e1071 package and to calculate the
individual results
got it
thank you
abou
__
*AbouEl-Makarim Aboueissa, PhD*
*Professor of Statistics*
*Department of Mathematics and Statistics*
*University of Southern Maine*
On Wed, Jan 10, 2018 at 2:41 PM, AbouEl-Makarim Aboueissa <
abouelmakarim1...@gmail.com> wrote:
> Dear All: Just
Dear All: Just fixed where is the problem
I am trying to use the R function "svm" with "type~." , but I got the
following error message
SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*,
kernel='linear',scale=FALSE)
*Error in eval(predvars, data, env) : object 'type'
> On Jan 10, 2018, at 10:50 AM, AbouEl-Makarim Aboueissa
> wrote:
>
> Dear All:
>
>
> I am trying to use the R function "svm" with "type =C-classification" ,
> but I got the following error message
>
>
> SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y,
Dear All:
I am trying to use the R function "svm" with "type =C-classification" ,
but I got the following error message
SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*,
kernel='linear',scale=FALSE)
*Error in eval(predvars, data, env) : object 'type' not found*
I
Dear Sir,
I have converted the data into numeric as the function read.excel read the
data file as a character (as it was said by David Meyer, maintainer of the
package e1071) and after that run the function svm. Then another error is
found there. The detail description of the code and error is
On 04.06.2015 08:06, Pijush Das wrote:
Dear Sir,
I have converted the data into numeric as the function read.excel read the
data file as a character (as it was said by David Meyer, maintainer of the
package e1071) and after that run the function svm. Then another error is
found there. The
Hi Pijush,
As before, please keep the messages on the mailing list. In your
example above you have not defined y, so the function is probably
complaining about being passed a NULL for the dependent variable. I
forgot to add in my previous message that I imported your data by
exporting it from XLSX
Dear Sir,
I am facing an error when I am trying to use svm and found similar kind of
problem faced by other. But I unable to solve the problem. The problem is
given below.
rm(list=ls(all=TRUE))
CombinedGeneList - read.xlsx(file.choose(), sheet = 1, colNames =
TRUE,rowNames = TRUE)
Hi Pijush,
Without access to the data, we can only guess. However, in such cases
the problem is often a factor variable where you expect a numeric one.
Try this:
is.factor(x)
and if the answer is TRUE, you have found your problem.
Jim
On Wed, Jun 3, 2015 at 4:13 PM, Pijush Das
Hi Pijush,
First, please keep the messages on the help list.
As far as I can determine, the x in your code above is a matrix of
character strings. When you transpose (t) the initial data frame, all
of the numbers are coerced to character mode as the columns must all
be of the same mode. The first
Dear Sir,
I am working with SVM recently, facing a problem which is given below.
If you able to solve the problem, please send me the code.
Thank you very much.
library(e1071)
library(openxlsx)
List- read.xlsx(file.choose(), sheet = 1, colNames=TRUE,rowNames = TRUE)
Data-
svm() needs a matrix as input but read.xlsx() produces a data frame.
B.
On Jun 3, 2015, at 5:01 AM, Pijush Das topij...@gmail.com wrote:
Dear Sir,
I am working with SVM recently, facing a problem which is given below.
If you able to solve the problem, please send me the code.
Hello,
as you can imagine, I am new to R. I have a problem plotting the results of my
svm classification of microarray data.
So, I have a matrix of 30 rows (samples) and 306 columns (significant genes). I
transform the matrix to a data frame in order to do the classification.
My code is:
Hello.
This is the first time i am using RTextTools. I have to implement an SVM
classification on a collection of text documents. I am following this
tutorial.
http://journal.r-project.org/archive/2013-1/collingwood-jurka-boydstun-etal.pdf
I am giving you my code, stepwise.
#First i read my
Hi,
I'm studying SVMs and found that if I run SVM in R, Weka, Python their results
are differ. So, to eliminate possible pitfalls, I decided to use standard iris
dataset and wrote implementation in R, Weka, Python for the same SVM/kernel. I
think the choice of kernel does not matter and only
On 30.11.2012 05:08, vivek kumar singh wrote:
HI All,
I am very new to R tool. Can some one please suggest me some tutorial
links for understanding SVM using R.
After reading some textbook about the SVM, go ahead and look for ?svm in
package e1071.
Best,
Uwe Ligges
Regards,
Vivek
HI All,
I am very new to R tool. Can some one please suggest me some tutorial
links for understanding SVM using R.
Regards,
Vivek
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Dear all,
i have microarray data of 3 classes of patients. It's not a time course
experiment only steady state.
I used a rule-based method to classify the groups by the expression of the
genes. This works out so far. Nevertheless I want to check my results with an
other method. Therefore I look
Having a classification problem, I am using SVM for prediction in R. In
dataset, there are integer as well as categorical variables. I got error
while predicting with predict method.
svp3c - ksvm(input_dataset3$isCRgt3~., data=input_dataset3,type=C-svc)
Dear All,
I m just curious if this is okay that SVM takes several hours to build the
model based on training data set with ~1 million observations and 7 columns (6
variables + 1 class variable). Here is my code:
model-svm(result ~ ., data=trainset)
where 'trainset' has 997594 obs. and 7
Dear All,
I m trying to build SVM model with large dataset. However, svm from package
e1071 works slowly (takes hours) to build model for like 1 million
observations. I was thinking about CVM (Core Vector Machines:
://stats.stackexchange.com/questions/25355/multi-value-categorical-attributes-how-r
Thank you,
-Alex
From: Steve Lianoglou [mailinglist.honey...@gmail.com]
Sent: 27 March 2012 21:47
To: Alekseiy Beloshitskiy
Cc: r-help@r-project.org
Subject: Re: [R] SVM. How to use categorical
Alex,
To avoid the memory issue, you can directly use a bag of words kernel
(which corresponds to using the linear kernel on the sparse bag of words
matrix Steve suggested). Just a little toy example how this is done for two
:
x1 - c(how, to, grow, tree)
x2 - c(where, to, go, weekend, cinema)
Sorry, I forgot to mention the following: all I wrote is only valid as long
as your number of samples is smaller than the number of different words. If
the number of samples exceeds the total number of different words, you
should better use the explicit matrix representation and use some kernel
Thank you so much, Ulrich,
Will play with this.
Best,
-Alex
From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] on behalf of
Ulrich Bodenhofer [bodenho...@bioinf.jku.at]
Sent: 28 March 2012 14:40
To: r-help@r-project.org
Subject: Re: [R
Hi,
These suggestions still require you to explicitly compute your feature
space or kernel matrix first, which might kill you memory wise.
You might consider taking a look at the shogun toolbox:
http://www.shogun-toolbox.org/
With some digging, I'm pretty sure you'll find a bag-of-words type
Sorry -- I should add that I'm pointing out the potential shogun
implementation because I suspect their implementation of a
bag-of-words -like kernel would use the kernel trick, so you won't
have to map all of your data explicitly into some huge feature space
that will blow your memory away.
I'm
Hi All,
Here is the case. I want to build classification model (SVM). Some of variables
for this model are categorical attributes which represent words (usually 3-10
words - query for search in google). For example:
search_id | query_words|..| result
Hi,
On Tue, Mar 27, 2012 at 6:05 AM, Alekseiy Beloshitskiy
abeloshits...@velti.com wrote:
Hi All,
Here is the case. I want to build classification model (SVM). Some of
variables for this model are categorical attributes which represent words
(usually 3-10 words - query for search in
Hi Ethienne,
we (me and Gab) would like to thank you ! Finally we got what we were
looking for but we did it without use the raster packagebut we are
going to try also with it to see if it allow to have faster computation or
data manipulation,
If you're interested we can show you the code we
Dear Ethienne, thanks a lot for your help.
We finally manage to perform the svm classification in this way:
library(spgrass6) ; G - gmeta6()
TL_training_2006_id.raw-readRAST6(TL_training_2006_id) # classes
training area
I usually use a rasterLayer object (from raster package) instead of a
SpatialGridDataFrame, but you probably just have to bind it to your data :
TL_training_2006_id.raw@data$prediction - pred
This will create a band in which you have your predictions. raster package
doesn't handle the factors, so
Look at ?predict.svm, you'll see that you need to provide a Matrix, not a
data.frame.
Etienne
--
View this message in context:
http://r.789695.n4.nabble.com/svm-with-GRASS-GIS-tp4388006p4403005.html
Sent from the R help mailing list archive at Nabble.com.
Dear Etienne, I'm a colleauge of Gabriele and I'm more into R (but he is
more into GRASS).
I'll try to explain you what we didi so far
1) Our ASTER images, (B1, B2 and B3) have 8363134 pixels; we made a subset
in order to have training data sets: that is, for each band (B1,B2 and B3)
916 pixels
2012/2/15 gab gis...@libero.it
Errore in scale(newdata[, object$scaled, drop = FALSE], center =
object$x.scale$scaled:center, :
(subscript) indice logicol troppo lungo
I'm pretty sure the problem is with your data frame. Maybe if you share the
result of
dput(training[1:10, ])
# (make sure
Gab,
Make sure you have variables for each training.
training - data.frame(Training_2006, AST_L1B_1, AST_L1B_2, AST_L1B_3N)
If you can't do that, then you don't have as many training observations
than you have predictive informations. Make sure to create a line for each
set of predictive pixels
Ciao Etienne, thank you.
Today I tried to understand something more. Here's what I did (The file
names are a bit different):
*training - data.frame(cbind(TL_training_2006_id,
AST_L1B_2008_05_2009_area_giusta_1, AST_L1B_2008_05_2009_area_giusta_2,
AST_L1B_2008_05_2009_area_giusta_3N))*
Then ...
*x
Dear R Community-
I am a new user of R. I am using R with GRASS GIS.
I would apply svm on raster data in GRASS.
Basically I have a raster with areas training and other three raster (each
represents a band of ASTER satellite image).
My goal is to classify, according to training areas, the 3
I've created an SVM in R using the kernlab package, however it's running
incredibly slow (20,000 predictions takes ~45 seconds on win64 R distribution).
CPU is running at 25% and RAM utilization is a mere 17% ... it's not a hardware
bottleneck. Similar calculations using data mining algorithms
All,
I am beginner in R here.I am working on SVM and am getting the below errors
wheneverI call the predict function.I have tried reading the manual for
predict() butI am totally stumped and not able to move further.
pred - predict(model, Test[,-1])Error in scale(newdata[, object$scaled, drop
Il 27/09/11 01:58, R. Michael Weylandt ha scritto:
Why exactly do you want to stabilize your results?
If it's in preparation for publication/classroom demo/etc., certainly
resetting the seed before each run (and hence getting the same sample()
output) will make your results exactly
Hi, I'm working with support vector machine for the classification
purpose, and I have a problem about the accuracy of prediction.
I divided my data set in train (1/3 of enteire data set) and test (2/3
of data set) using the sample function. Each time I perform the svm
model I obtain
Why exactly do you want to stabilize your results?
If it's in preparation for publication/classroom demo/etc., certainly
resetting the seed before each run (and hence getting the same sample()
output) will make your results exactly reproducible. However, if you are
looking for a clearer picture
I am trying to build a classifier using SVM and I have 23 independent
variables and 1 response.
I want to check the classification ac curacies of each independent
variables. I did this without any problem.
Now, I want to check the all possible combinations for any two variables
using following
Hello all,
I'm working with the svm (libsvm) implementation from library(e1071).
Currently I'm trying to extend recursive feature elimination (R-SMV) to
work with multiclass classification.
My problem is that if I run svm for a 3 class problem I get a 2-D vector
back from
model$coefs, can
am not
sure if my implementation is correct or not. This was why I wanted to work
with predict method in first place. Please suggest.
thanks
gene
--
View this message in context:
http://r.789695.n4.nabble.com/R-svm-prediction-kernlab-tp3551402p3551402.html
Sent from the R help mailing list archive
I expected, that I will get the same prediction, if I multiply the
weights for all classes with a constant factor, but I got different
results. Please look for the following code.
library(e1071)
data(Glass, package = mlbench)
index - 1:nrow(Glass)
testindex - sample(index,
...@gmail.com wrote:
*Hi,
*Does anyone know how can I show an *ROC curve for R-SVM*? I understand in
R-SVM we are not optimizing over SVM cost parameter. Any example ROC for
R-SVM code or guidance can be really useful.
Thanks, Angel.
[[alternative HTML version deleted
Hi Max and Andrew,
Thanks so much for your reply. Indeed I found your link last night using
steps shown below.
My first question is if the following two steps are right and AUC is 51% as
shown below.
My seond question is that currently I am using cost parameter=1 (the default
in R-SVM; http
: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Angel Russo
Sent: Monday, February 21, 2011 3:34 PM
To: r-help@r-project.org
Subject: [R] ROC from R-SVM?
*Hi,
*Does anyone know how can I show an *ROC curve for R-SVM*? I understand in
R-SVM we are not optimizing
*Hi,
*Does anyone know how can I show an *ROC curve for R-SVM*? I understand in
R-SVM we are not optimizing over SVM cost parameter. Any example ROC for
R-SVM code or guidance can be really useful.
Thanks, Angel.
[[alternative HTML version deleted
Greetings:
I am trying to use your R code for R-SVM as follows. Why it dosen't print
the LOO.error and the list of features?
http://www.stanford.edu/group/wonglab/RSVMpage/R-SVM.html
My training data as follows contains 142 cases and 264 features. instead I
get en error as below invalid 'digits
Hi
I'm trying to predict using a model I fitted with SVM.
I constructed the model (called Svm) using a training set, and now I want to
use a test set (called BankTest) for prediction.
The response variable is in the first column of BankTest.
SvmPred = predict(Svm, BankTest[,-1],
Hi,
On Wed, Feb 2, 2011 at 9:56 AM, Brian ctto...@hotmail.com wrote:
Hi
I'm trying to predict using a model I fitted with SVM.
I constructed the model (called Svm) using a training set, and now I want to
use a test set (called BankTest) for prediction.
The response variable is in the
Thanks for the reply.
When I run this:
head(SvmPred)
3570 2361 5406 2041 3440 4123
NNYYYY
Levels: N Y
--
View this message in context:
http://r.789695.n4.nabble.com/SVM-Prediction-and-Plot-tp3254421p3254570.html
Sent from the R help mailing list archive at
Hi,
On Wed, Feb 2, 2011 at 10:35 AM, Brian ctto...@hotmail.com wrote:
Thanks for the reply.
When I run this:
head(SvmPred)
3570 2361 5406 2041 3440 4123
N N Y Y Y Y
Levels: N Y
Hmmm ... I think we'll need more info.
It looks like it should be working. By your output,
There are a good few blanks in some variables in the data. There were in the
training set too. Is that a problem? I don't have any na.action in my svm
call either.
So na.omit=na.fail causes this error:
Error in na.fail.default(newdata) : missing values in object
I tried the matrix.
SvmPred =
Hi,
On Wed, Feb 2, 2011 at 1:40 PM, Brian ctto...@hotmail.com wrote:
There are a good few blanks in some variables in the data. There were in the
training set too. Is that a problem?
Well, it looks like it's the root cause of what prompted you to post
to R-help ... whether or not it's
I am using SVM in R via package e1071 package. Is it possible to obtain
probabilities of the classification for the test set based on distances from
the classification planes? This seems possible in Linear Discriminant Analysis
(via lda function in MASS package) through the posterior
Hi, Dear Community,
Several days ago, I received one email about the online svm course in R, I
try to find it. Can someone forward the information to me.
Thanks!
--
Sincerely,
Changbin
--
[[alternative HTML version deleted]]
__
Hi Steve,
thanks a lot, I will haev a look at the kernel appraoch ,that looks
promising. I will first have to study the theory behind before I use it,
I guess.
Cheers
M.
On 10/21/2010 5:42 PM, Steve Lianoglou wrote:
Hi,
On Thu, Oct 21, 2010 at 9:42 AM, Martin Tomkomartin.to...@geo.uzh.ch
Dear all,
I am exploring the possibilities for automated classification of my
data. I have successfully used KNN, but was thinking about looking at
SVM (which I did nto use before).
I have a pairwise distance matrix of training observations which are
classified in set classes, and a distance
Hi,
On Thu, Oct 21, 2010 at 9:42 AM, Martin Tomko martin.to...@geo.uzh.ch wrote:
Dear all,
I am exploring the possibilities for automated classification of my
data. I have successfully used KNN, but was thinking about looking at
SVM (which I did nto use before).
I have a pairwise distance
Hi Steve,
tahnks for the hints and clarifications.
Unfortunately, I will not be able to use the approach you suggest, The
distances I generate are distances between VERY large matrices (say
10x10 and more) each of different dimensions (not necessarily
square either), and there is no
Hi,
On Thu, Oct 21, 2010 at 12:12 PM, Martin Tomko martin.to...@geo.uzh.ch wrote:
Hi Steve,
tahnks for the hints and clarifications.
Unfortunately, I will not be able to use the approach you suggest, The
distances I generate are distances between VERY large matrices (say
10x10 and
: [R] SVM functions
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
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
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
...@gmail.com
To: r-help@r-project.org
Subject: Re: [R] SVM functions
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.
for open ended research with no leads, gscholar is ok or use
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
Probably you do not have svmlight installed on your machine.
Uwe Ligges
On 05.10.2010 12:42, Neeti wrote:
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
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.
On 05.10.2010 18:19, Neeti wrote:
It would be nice if you suggest me the steps to check whether svmlight is
present in my system or not?
If you have not installed it, it is probably not present yet. How to
check it: Well, that depends on your OS that is unstated so far.
Asking a search
I'm trying to run an epsilon regression model, and am comparing the results
between e1071 and kernlab. I believe that I'm calling the ksvm and svm
functions the same way but I'm getting different results:
library(e1071); library(kernlab)
ksvm(x=1:100, y=(1:100)/5, type=eps-svr,
]
Sent: Wednesday, April 07, 2010 4:00 PM
To: Shyamasree Saha [shs]
Cc: r help
Subject: Re: [R] svm of e1071 package
Hi,
On Tue, Apr 6, 2010 at 7:16 PM, Shyamasree Saha [shs] s...@aber.ac.uk wrote:
Dear Steve,
Thanks again for your help and reply. your help was very useful and gave us
...@gmail.com]
Sent: Wednesday, April 14, 2010 2:49 PM
To: Shyamasree Saha [shs]
Cc: r help
Subject: Re: [R] svm of e1071 package
Hi Shyama,
On Tue, Apr 13, 2010 at 10:40 AM, Shyamasree Saha [shs] s...@aber.ac.uk wrote:
Dear Steve,
We have finally managed to run our code. Sparse matrix
From: Steve Lianoglou [mailinglist.honey...@gmail.com]
Sent: Wednesday, April 07, 2010 4:00 PM
To: Shyamasree Saha [shs]
Cc: r help
Subject: Re: [R] svm of e1071 package
Hi,
On Tue, Apr 6, 2010 at 7:16 PM, Shyamasree Saha [shs] s...@aber.ac.uk wrote:
Dear Steve,
Thanks
help
Subject: Re: [R] svm of e1071 package
Hi Shyama,
Don't forget to CC the r-help list in your discussions so that there
are more eyes on this problem, and others might potentially benefit
from discussion.
Comments in line.
On Tue, Apr 6, 2010 at 4:06 PM, Shyamasree Saha [shs] s
Hello List,
I am having a great trouble using svm function in e1071 package. I have 4gb of
data that i want to use to train svm. I am using Amazon cloud, my Amazon
Machine Image(AMI) has 34.2 GB of memory. my R process was killed several times
when i tried to use 4GB of data for svm. Now I am
Hi,
On Tue, Apr 6, 2010 at 8:07 AM, Shyamasree Saha [shs] s...@aber.ac.uk wrote:
Hello List,
I am having a great trouble using svm function in e1071 package. I have 4gb
of data that i want to use to train svm. I am using Amazon cloud, my Amazon
Machine Image(AMI) has 34.2 GB of memory. my
I think the problem is that you have R configured as 32-bits. If that
is the case, then you will only have access to 4 gigs of RAM (see
http://www.brianmadden.com/blogs/brianmadden/archive/2004/02/19/the-4gb-windows-memory-limit-what-does-it-really-mean.aspx).
Try booting up an ubuntu instance in
Hi Shyama,
Don't forget to CC the r-help list in your discussions so that there
are more eyes on this problem, and others might potentially benefit
from discussion.
Comments in line.
On Tue, Apr 6, 2010 at 4:06 PM, Shyamasree Saha [shs] s...@aber.ac.uk wrote:
Dear Steve,
Thanks a lot for
06, 2010 9:40 PM
To: Shyamasree Saha [shs]
Cc: r help
Subject: Re: [R] svm of e1071 package
Hi Shyama,
Don't forget to CC the r-help list in your discussions so that there
are more eyes on this problem, and others might potentially benefit
from discussion.
Comments in line.
On Tue, Apr 6, 2010
Hi Steve,
Could you please tell me what I should change in this equation: accuracy -
sum(mytest == mytestdata[,1]) / length(mytest)In order to compute the accuracy
of SVM when using cross validation?Cheers,Amy
it with the attached dataset? I tried it with
different datasets and the problem remains.
Cheers,
Amy
Date: Mon, 22 Feb 2010 10:02:31 -0500
Subject: Re: [R] svm
From: mailinglist.honey...@gmail.com
To: amy_4_5...@hotmail.com
CC: r-help@r-project.org
Hi Amy,
On Sat, Feb 20, 2010 at 9:29 PM
Hi Amy,
On Sat, Feb 20, 2010 at 9:29 PM, Amy Hessen amy_4_5...@hotmail.com wrote:
Hi ,
Could you please help me in this question:?
After trying this code:
library(e1071)
mydata - as.matrix(read.delim(iris.txt))
train.x - mydata[,-1]
train.y - mydata[,1]
mymodel - svm(train.x,
= TRUE) : 'x' must be numeric
I put the class label in the first column.
Cheers,
Amy
Date: Wed, 3 Feb 2010 10:59:27 -0500
Subject: Re: [R] svm
From: mailinglist.honey...@gmail.com
To: amy_4_5...@hotmail.com
CC: r-help@r-project.org
HI Amy,
On Wed, Feb 3, 2010 at 1:56 AM, Amy Hessen
. If you
want to get the exactly same results, use a seed for the random number
generator such as:
set.seed(123)
mymodel- svm(train.x, train.y, cross=10)
summary(mymodel)
Uwe Ligges
Cheers,
Amy
Date: Tue, 16 Feb 2010 10:33:19 -0500
Subject: Re: [R] svm and RMSE
From: mailinglist.honey
Hi,
I am trying to use svm for regression data.
this is how my data looks like:
dataTrain
x y z
1 4 6
2 5 4
3 7 5
classTrain
a
2
3
4
dataTest
x y z
1 7 2
2 8 3
classTest
a
3
4
5
building the model
model-svm(dataTrain,classTrain,type=nu-regression)
pred - predict(model,
Hi,
I am having trouble with svm regression.it is not giving the right results.
example
model - svm(dataTrain,classTrain,type=eps-regression)
predict(model, dataTest)
36 37 38 39 40 41
42
-13.838257 -1.475401 10.502739 -3.047656 -8.713697
On 18.02.2010 17:54, madhu sankar wrote:
Hi,
I am trying to use svm for regression data.
this is how my data looks like:
dataTrain
x y z
1 4 6
2 5 4
3 7 5
classTrain
a
2
3
4
dataTest
x y z
1 7 2
2 8 3
classTest
a
3
4
5
building the model
On 18.02.2010 19:43, madhu sankar wrote:
Hi,
I am having trouble with svm regression.it is not giving the right results.
example
model- svm(dataTrain,classTrain,type=eps-regression)
predict(model, dataTest)
36 37 38 39 40 41
42
-13.838257
- readingmydata[,1]
mymodel - svm(train.x, train.y, cross=10)
summary(mymodel)
can you please tell me how I can fix that error?
Cheers,
Amy
Date: Tue, 16 Feb 2010 10:33:19 -0500
Subject: Re: [R] svm and RMSE
From: mailinglist.honey...@gmail.com
To: amy_4_5...@hotmail.com
CC: r-help@r
Hi,
On Fri, Feb 12, 2010 at 3:00 PM, Amy Hessen amy_4_5...@hotmail.com wrote:
Hi,
Every time I run a svm regression program, I got different RMSE value.
Could you please tell me what the reason for that?
Sorry, your question is a bit vague.
Can you provide an example/code that shows this
Dear R-users,
Does anyone know how to get margins' information using SVM under package e1071?
I have a two class classification problem and I'd like to have, for each input
example, the distance of this example to the margin just like it's possible to
obtain using C-based SVM-light, for
Hi,
Every time I run a svm regression program, I got different RMSE value.
Could you please tell me what the reason for that?
Cheers,
Amy
_
If it exists, you'll find it on SEEK.
-project.org
Subject: Re: [R] svm
On Thu, 4 Feb 2010, Amy Hessen wrote:
Hi Steve,
Thank you very much for your reply.
Could you please guide me to any helpful reference to learn about the
other non-linear regression algorithms available in R language and about
how I use
1 - 100 of 166 matches
Mail list logo