Displaying 20 results from an estimated 2000 matches similar to: "Polynomial kernel in SVM in e1071 package"
2003 Nov 03
1
svm in e1071 package: polynomial vs linear kernel
I am trying to understand what is the difference between linear and
polynomial kernel:
linear: u'*v
polynomial: (gamma*u'*v + coef0)^degree
It would seem that polynomial kernel with gamma = 1; coef0 = 0 and degree
= 1
should be identical to linear kernel, however it gives me significantly
different results for very simple
data set, with linear kernel
2003 Dec 10
3
e1071:svm - default epsilon = 0.1 (NOT 0.5) (PR#5671)
In e1071 package/svm default epsilon value is set to 0.1 and not 0.5
as documentation says.
R
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)
>
2006 May 01
6
R-2.3.0 make error
Dear list,
When compiling the R-2.3.0 on FC4 x86_64, I got the following errors:
make[3]: Entering directory
`/project/scratch3/ligroup/wuming/src/R-2.3.0/src/main'
gcc -Wl,--export-dynamic -L/usr/local/lib64 -o R.bin Rmain.o
CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o
arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o
character.o coerce.o colors.o complex.o
2005 Apr 26
3
Error using e1071 svm: NA/NaN/Inf in foreign function call
Hello,
As far I saw in archive mailing list, I am not the first person with this problem. Anyway I was not able to pass this error once the information I got from the archive it is not very conclusive for this case. I have used linear, radial and sigmoid kernels for the same data in the same conditions and everything is ok. This problem just happens with the polynomial kernel. I send the
2006 Mar 29
3
Sub-vector
Dear list,
Given a vector of logical values, say
>a <- c(TRUE,TRUE,TRUE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE)
Are there any R functions that can tell whether there are two or more
"TRUE" in a row in this vector?
Thanks,
Wuming
2006 Mar 22
2
R package for computing state path using Viterbi algorithm
Dear list,
This question is about Hidden Markov Model. Given a transition
matrix, an emission matrix and a sequence of observed symbols
(actually, nucleotide sequences, A, T, C and G), I hope to predict the
sequence of state by Viterbi algorithm. I searched R repository for
related packages. msm package has function viterbi.msm (as well as
very good document), but it only works for
2004 Nov 29
1
tune()
Hi
I am trying to tune an svm by doing the following:
tune(svm, similarity ~., data = training, degree = 2^(1:2), gamma =
2^(-1:1), coef0 = 2^(-1:1), cost = 2^(2:4), type = "polynomial")
but I am getting
Error in svm.default(x, y, scale = scale, ...) :
wrong type specification!
>
I have to admit I am not sure what I am doing wrong. Could anyone tell
me why the
2015 Dec 20
2
[Aarch64 v2 05/18] Add Neon intrinsics for Silk noise shape quantization.
Jonathan Lennox wrote:
> +opus_int32 silk_noise_shape_quantizer_short_prediction_neon(const opus_int32 *buf32, const opus_int32 *coef32)
> +{
> + int32x4_t coef0 = vld1q_s32(coef32);
> + int32x4_t coef1 = vld1q_s32(coef32 + 4);
> + int32x4_t coef2 = vld1q_s32(coef32 + 8);
> + int32x4_t coef3 = vld1q_s32(coef32 + 12);
> +
> + int32x4_t a0 = vld1q_s32(buf32 -
2006 Aug 04
1
Error when loading odesolve
Dear list,
I installed odesolve package (0.5-15) in R 2.3.1 in a Solaris server
(Generic_118558-11 sun4u sparc SUNW,Sun-Blade-1000). The installing
progress completed without errors, though several warnings like
"Warning: Option -fPIC passed to ld, if ld is invoked, ignored
otherwise" were outputed.
However, when loading the odesolve package by library(odesolve),
following error
2015 Nov 23
1
[Aarch64 v2 05/18] Add Neon intrinsics for Silk noise shape quantization.
On Nov 23, 2015, at 12:04 PM, John Ridges <jridges at masque.com<mailto:jridges at masque.com>> wrote:
Hi Jonathan.
I really, really hate to bring this up this late in the game, but I just noticed that your NEON code doesn't use any of the "high" intrinsics for ARM64, e.g. instead of:
int32x4_t coef1 = vmovl_s16(vget_high_s16(coef16));
you could use:
int32x4_t coef1
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)
>
2005 Sep 02
1
Calculating Goodman-Kurskal's gamma using delta method
Dear list,
I have a problem on calculating the standard error of
Goodman-Kurskal's gamma using delta method. I exactly follow the
method and forumla described in Problem 3.27 of Alan Agresti's
Categorical Data Analysis (2nd edition). The data I used is also from
the job satisfaction vs. income example from that book.
job <- matrix(c(1, 3, 10, 6, 2, 3, 10, 7, 1, 6, 14, 12, 0, 1, 9,
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>
2004 Dec 16
2
reading svm function in e1071
Hi,
If I try to read the codes of functions in e1071 package, it gives me following error message.
>library(e1071)
> svm
function (x, ...)
UseMethod("svm")
<environment: namespace:e1071>
> predict.svm
Error: Object "predict.svm" not found
>
Can someone help me on this how to read the codes of the functions in the e1071 package?
Thanks.
Raj
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 Jul 07
2
Question in using e1071 svm routine
Hi all,
I've got the following error message in using e1071 svm routine...
Could anybody please help me?
Thank you!
---------------------------------
model <- svm(y=factor(mytraindata[, 1]), x=mytraindata[, -1], probability=T)
Error in if (any(co)) { : missing value where TRUE/FALSE needed
In addition: Warning message:
In FUN(newX[, i], ...) : NAs introduced by coercion
2006 Feb 02
0
crossvalidation in svm regression in e1071 gives incorrect results (PR#8554)
Full_Name: Noel O'Boyle
Version: 2.1.0
OS: Debian GNU/Linux Sarge
Submission from: (NULL) (131.111.8.96)
(1) Description of error
The 10-fold CV option for the svm function in e1071 appears to give incorrect
results for the rmse.
The example code in (3) uses the example regression data in the svm
documentation. The rmse for internal prediction is 0.24. It is expected the
10-fold CV rmse
2011 Aug 05
1
e1071 ver 1.5-27 and older - SVM bug report
Dear All:
I found a problem with the SVM internal cross-validation (CV) accuracy
estimation in the e1071 package.
File: Rsvm.c
Line: 120
Today, it is:
int j = rand()%(prob->l-i);
Should be:
int j = i + rand()%(prob->l-i);
The erroneous code doesn't shuffle objects. Instead, it "randomly"
moves objects from beginning to the end.
In hope for a prompt response from the
2004 Dec 18
1
erro in SVM (packsge "e1071")
Hello,
I am using SVM under e1071 package for nu-regression with 18 parameters. The
variables are ordered factors, factors, date or numeric datatypes. I use the
linear kernel.
It gives the following error that I cannot solve. I tryed debug, browser and
all that stuff, but no way.
The error is:
Error in get(ctr, mode = "function", envir = parent.frame())(levels(x), :