Displaying 20 results from an estimated 1000 matches similar to: "about libsvm"
2010 Oct 05
6
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 svmlight( ) which is available in package: klaR.
Although I have downloaded klaR_0.6-3 package from
2011 Jan 24
5
Train error:: subscript out of bonds
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 bounds?.
For example when I set seed to 357 following code produced result only for 8
2012 Mar 14
1
How to use a saved SVM model from e1071
Hello,
I have an SVM model previously calibrated using libsvm R implementation from
the e1071 package.
I would like to use this SVM to predict values, from a Java program.
I first tried to use jlibsvm and the "standard" java implementation of
libsvm, without success.
Thus, I am now considering writing data in files from my Java code, calling
an R program to predict values, then gather
2010 Oct 01
3
help regarding the package installation
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("C:\\Users\\nn223\\Downloads\\nnet_7.3-1.zip",lib=.Library)
Warning in
2005 Jun 29
2
Running SVM {e1071}
Dear David, Dear Friends,
After any running svm I receive different results of Error estimation of 'svm' using 10-fold cross validation. What is the reason ? It is caused by the algorithm, libsvm , e1071 or something els? Which value can be optimal one ? How much run can reach to the optimality.And finally, what is difference between Error estimation of svm using 10-fold cross validation
2012 Feb 21
0
Loading externally created LIBSVM model into R.
I used the c binary svm-train in LIBSVM to create a model file.
How do I load this model file into R? Is there a function in R package e1071
that accomplishes this operation?
Thanks, Yin
--
View this message in context: http://r.789695.n4.nabble.com/Loading-externally-created-LIBSVM-model-into-R-tp4407853p4407853.html
Sent from the R devel mailing list archive at Nabble.com.
2005 Aug 11
1
How to insert a certain model in SVM regarding to fixed kernels
Dear David,
Dear R Users ,
Suppose that we want to regress for example a certain autoregressive model using
SVM. We have our data and also some fixed kernels in libSVM behinde e1071
in front. The question: Where can we insert our certain autoregressive
model ? During creating data frame ? Or perhaps we can make a
relationship between our variables ended to desired autoregressive model ?
2011 May 30
0
how to interpret coefficients from multiclass svm using libsvm (for multiclass R-SVM)
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 someone explain me what this values are? I understand them
in the 2-class problem
where this is a
2012 Mar 29
1
TR: [e1071] Load an SVM model exported with write.svm
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20120329/cfdd2be3/attachment.pl>
2010 Apr 06
3
svm of e1071 package
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 using a subset of that data and it is only 1.4 GB. i remove all unnecessary objects before calling
2011 Apr 20
1
Pattern match
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);BondInvolved=(C-H);EzCatDBID=(S00343);BondFormed=(O-H,O-H);Bond+
2006 Jan 27
3
e1071: using svm with sparse matrices (PR#8527)
Full_Name: Julien Gagneur
Version: 2.2.1
OS: Linux (Suse 9.3)
Submission from: (NULL) (194.94.44.4)
Using the SparseM library (SparseM_0.66)
and the e1071 library (e1071_1.5-12)
I fail using svm method with a sparse matrix. Here is a sample example.
I experienced the same problem under Windows.
> library(SparseM)
[1] "SparseM library loaded"
> library("e1071")
2003 Dec 04
2
RE: R performance questions
Hi--
While I agree that we cannot agree on the ideal algorithms, we should be
taking practical steps to implement microarrays in the clinic. I think
we can all agree that our algorithms have some degree of efficacy over
and above conventional diagnostic techniques. If patients are dying
from lack of diagnostic accuracy, I think we have to work hard to use
this technology to help them, if we
2004 Mar 03
1
Bug in plot.lm (PR#6640)
Dear all,
I noticed the following behaviour of plot.lm:
> fm1 <- lm(time~dist, data=hills, weights=c(0,0,rep(1,33)))
> par(mfrow=c(2,2))
> plot(fm1)
Warning messages:
1: longer object length
is not a multiple of shorter object length in: res/(sd * (1 - hat))
2: longer object length
is not a multiple of shorter object length in: (res/(sd * (1 - hat)))^2 * hat
which seems to be
2011 Jan 21
1
help! complete the reviewer's suggest: carry out GA+GP (gaussian process)!
Hello, all experts,
My major is computer-aied drug design ( main QSAR).
Now, my paper need be reviesed, and one reviewer ask me do genetic algorithm
coupled with gaussian process method (GA+GP).
my data:
training set: 191*106
test set: 73*106
here, I need use GA+GP to do variable selection when building the model.
In R, there are not GA package like in matlab
2003 Oct 29
1
svm from e1071 package
I am starting to use svm from e1071 and I wonder how exactly
crossvalidation is implemented.
Whenever I run
> svm.model <- svm(y ~ ., data = trainset, cross = 3)
on my data I get dirrerent values for svm.model$MSE e.g.
[1] 0.9517001 1.7069627 0.6108726
[1] 0.3634670 0.9165497 1.4606322
This suggests to me that data are scrambled each time - the last time I
looked at libsvm python
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 Aug 18
1
probabilities from predict.svm
Dear R Community-
I am a new user of support vector machines for species distribution modeling and am using package e1071 to run svm() and predict.svm(). Briefly, I want to create an svm model for classification of a factor response (species presence or absence) based on climate predictor variables. I have used a training dataset to train the model, and tested it against a validation data set
2010 Nov 23
5
cross validation using e1071:SVM
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.
#####################################################################
Code (at the end) Is working fine but sometime caret:confusionMatrix
2006 Apr 14
1
Getting SVM minimized function value
Hello, I have been searching a way to get the resulting optimized
function value of a trained SVM model (svm from the package e1071) but
I have not succeed.
Does anyone knows a way to get that value?
Pau