Displaying 20 results from an estimated 20000 matches similar to: "How to choose the best Kernel in SVM classification"
2007 Dec 31
1
SVM error
Hi all,
I'm having this error, since I'm working with a data matrix I don't understand what's happening; I've tried several ways to solve this, even working with sparse matrix, but nothing seems to solve it, I've also tried svm (with a simple matrix 3*3 and still got the same error.
> dados<-read.table("b.txt",sep="",nrows=30000)
>
2008 Jan 02
1
Plot.svm error
Hi all,
Sorry to be bothering again with probably an easy error to fix, but I've been trying to solve the problem and haven't been able yet to do it. So I'm doing this:
> dados<-read.table("b.txt",sep="",nrows=30000)
>
2009 Mar 12
0
e1071 SVM one-classification tune problem
Hello all,
I am using the e1071 SVM with the tune options for classification, which work pretty well, given the examples of using tune.svm function for classification. But I have not found any example to tune the SVM novelty detection (one-classification) parameters (gamma, cost, nu), for example this are some of the options I have tried with no success:
obj<-tune(svm, x,y, type
2008 Jan 03
0
Svm formula
Hi all,
I don't know how to choose the formula to use when plotting an svm model, I think I'm using the wrong one and so that is why I'm having trouble. I should be very grateful if someone could help me on this..
> dados<-read.table("b.txt",sep="",nrows=30000)
>
2011 Sep 27
0
Workflow for binary classification problem using svm via e1071 package
Dear R-list!
I am using the e1071 package in R to solve a binary classification problem
in a dataset of round 180 predictor variables (blood metabolites) of two
groups of subjects (patients and healthy controls). I am confused regarding
the correct way to assess the classification accuracy of the trained svm.
(A) The svm command allows to specificy via the 'cross=k' parameter to
specify a
2008 May 13
0
Un-reproductibility of SVM classification with 'e1071' libSVM package
Hello,
When calling several times the svm() function, I get different results.
Do I miss something, or is there some random generation in the C library?
In this second hypothesis, is it possible to fix an eventual seed?
Thank you
Pierre
### Example
library('e1071')
x = rnorm(100) # train set
y = rnorm(100)
c = runif(100)>0.5
x2 = rnorm(100)# test set
y2 = rnorm(100)
# learning a
2010 Oct 21
1
SVM classification based on pairwise distance matrix
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 matrix of new observations to
the training ones.
Is it possible to use distance matrices for SVM, and
2007 Nov 08
3
Testing Normal Distributions
Hi,
I would like to know if there is an algorithm in R for testing if a data set as a normal destribution.
Thank you for your time,
Pedro Marques
2010 Jun 29
2
Need help for SVM code for microarray classification
Hi I am Aadhithya I am trying to write a code to classify microarray data
(AML and ALL) using SVM in R
my code goes like this :
library(e1071)
train<-read.table("Z:/Documents/train.txt",header=T);
test<-read.table("Z:/Documents/test.txt",header=T);
cl <- c(c(rep("ALL",10), rep("AML",10)));
model<- svm(train,cl);
pred <-
2006 Dec 08
1
please help me for svm plot question
I run the following code, all other is ok,
but plot(m.svm,p5.new,As~Cur) is not ok
Anyone know why?
install.packages("e1071")
library(e1071)
library(MASS)
p5 <- read.csv("http://www.public.iastate.edu/~aiminy/data/p_5_2.csv")
p5.new<-subset(p5,select=-Ms)
p5.new$Y<-factor(p5.new$Y)
levels(p5.new$Y) <- list(Out=c(1), In=c(0))
attach(p5.new)
2012 Dec 02
1
e1071 SVM: Cross-validation error confusion matrix
Hi,
I ran two svm models in R e1071 package: the first without cross-validation
and the second with 10-fold cross-validation.
I used the following syntax:
#Model 1: Without cross-validation:
> svm.model <- svm(Response ~ ., data=data.df, type="C-classification",
> kernel="linear", cost=1)
> predict <- fitted(svm.model)
> cm <- table(predict,
2009 May 11
1
Problems to run SVM regression with e1071
Hi R users,
I'm trying to run a SVM - regression using e1071 package but the function svm() all the time apply a classification method rather than a regression.
svm.m1 <- svm(st ~ ., data = train, cost = 1000, gamma = 1e-03)
Parameters:
SVM-Type: C-classification
SVM-Kernel: radial
cost: 1000
gamma: 0.001
Number of Support Vectors: 209
2017 Sep 02
0
problem in testing data with e1071 package (SVM Multiclass)
Hello all,
this is the first time I'm using R and e1071 package and SVM multiclass
(and I'm not a statistician)! I'm very confused, then. The goal is: I
have a sentence with sunny; it will be classified as "yes" sentence; I
have a sentence with cloud, it will be classified as "maybe"; I have a
sentence with rainy il will be classified as "no".
The
2006 Dec 07
1
svm plot question
I run the following code, all other is ok,
but plot(m.svm,p5.new,As~Cur) is not ok
Anyone know why?
install.packages("e1071")
library(e1071)
library(MASS)
p5 <- read.csv("http://www.public.iastate.edu/~aiminy/data/p_5_2.csv")
p5.new<-subset(p5,select=-Ms)
p5.new$Y<-factor(p5.new$Y)
levels(p5.new$Y) <- list(Out=c(1), In=c(0))
attach(p5.new)
2006 Jul 24
2
RandomForest vs. bayes & svm classification performance
Hi
This is a question regarding classification performance using different methods.
So far I've tried NaiveBayes (klaR package), svm (e1071) package and
randomForest (randomForest). What has puzzled me is that randomForest seems to
perform far better (32% classification error) than svm and NaiveBayes, which
have similar classification errors (45%, 48% respectively). A similar
difference in
2018 Jan 10
1
svm
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 am wondering if I should install a specific R
2012 Mar 02
1
e1071 SVM: Cross-validation error confusion matrix
Hi,
I ran two svm models in R e1071 package: the first without cross-validation
and the second with 10-fold cross-validation.
I used the following syntax:
#Model 1: Without cross-validation:
> svm.model <- svm(Response ~ ., data=data.df, type="C-classification",
> kernel="linear", cost=1)
> predict <- fitted(svm.model)
> cm <- table(predict,
2009 Oct 19
1
Best SVM Performance measure?
Hi,
This is probably going to be one of those, "It depends what you want"
kind of answers, but I'm very curious to see if the group has an opinion
or some general suggestions.
The actual experiment is too complicated for a quick e-mail, but I'll
summarize well enough(hopefully) to get the concepts across.
Binary classification problem
Using and SVM (e1071) to train a model
2018 Jan 10
1
svm --- type~.
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' not found*
I am wondering if I should install a
2011 Jan 13
1
question about svm(e1071)
Dear all,
I executed svm calculation using e1071 library with a microarray data (http://www.iu.a.u-tokyo.ac.jp/~kadota/R/data_Singh_RMA_3274.txt).
Then, I shuffled the data samples and executed svm calculation again.
The results of 2 calculation were different (in SV, coefs and weights).
I attached the script below. Could please tell me why this happens?
If possible please tell me how to make