similar to: kernlab:ksvm:eps-svr: bug?

Displaying 20 results from an estimated 200 matches similar to: "kernlab:ksvm:eps-svr: bug?"

2012 Feb 14
1
cross validation in rvm not working? (kernlab package)
Hi, according to ?rvm the relevance vector machine function as implemented in the kernlab-package has an argument 'cross' with which you can perform k-fold cross validation. However, when I try to add a 10-fold cross validation I get the following error message: Error in match.arg(type, c("C-svc", "nu-svc", "kbb-svc", "spoc-svc",
2008 Sep 14
0
ksvm accessing the slots of S4 object
I am using kernlab to build svm models. I am not sure how to access the different slots of the object. For instance if I want to get the nuber of support vectors for each of model I am building and store it in a vector. >ksvm.model <- ksvm(Class ~ ., data = somedata,kernel = "vanilladot", cross = 10, type ="C-svc") >names(attributes(ksvm.model)) [1] "param"
2012 Jul 31
1
kernlab kpca predict
Hi! The kernlab function kpca() mentions that new observations can be transformed by using predict. Theres also an example in the documentation, but as you can see i am getting an error there (As i do with my own data). I'm not sure whats wrong at the moment. I haven't any predict functions written by myself in the workspace either. I've tested it with using the matrix version and the
2010 Feb 23
0
BUG with LSSVM in R:
Hello, I have noticed a bug with LSSVM implementation in R. It could be a bug with the LSSVM itself that causes this problem. I thought I should post this message to see if anyone else is familiar with this problem and explain why the result is different for odd and even number of cases. Once the hyperplane is found using LSSVM, the prediction results vary when you predict odd or even number of
2012 Apr 27
2
Where would i put feature requests for a library?
Hi! If i found a problem with the code of one of the libraries (not core), or, in my current case, would wish something minor changed for convenience, where can i get contact? Can i put it in the "official" bug repository? (Problem discription for anyone interested: Why call the default function kpca for a matrix with kpar=list(sigma=0.2), instead of putting this default sigma into the
2007 Aug 08
0
ksvm-kernel
HI I am new to R. I have one problem in the predict function of the kernlab. I want to use ksvm and predict with kernelmatrix (S4 method for signature 'kernelMatrix') #executing the following sentences library(kernlab) # identity kernel k <- function(x,y) { n<-length(x) cont<-0 for(i in 1:n){ if(x[i]==y[i]){ cont<-cont+1 } } cont } class(k) <-
2009 Nov 29
2
kernlab's ksvm method freeze
Hello, I am using kernlab to do some binary classification on aminoacid strings. I am using a custom kernel, so i use the kernel="matrix" option of the ksvm method. My (normalized) kernel matrix is of size 1309*1309, my results vector has the same length. I am using C-svc. My kernlab call is something similiar to this: ksvm(kernel="matrix", kernelMatrix, trainingDataYs,
2006 Aug 16
1
help about agnes
Hello. I have the following distance matrix between 8 points: [1,] 0.000000 3.162278 7.280110 8.544004 7.071068 9.899495 6.403124 8.062258 [2,] 3.162278 0.000000 5.000000 6.403124 4.472136 8.944272 6.082763 8.062258 [3,] 7.280110 5.000000 0.000000 1.414214 1.000000 5.000000 4.242641 5.830952 [4,] 8.544004 6.403124 1.414214 0.000000 2.236068 4.123106 4.472136 5.656854 [5,] 7.071068 4.472136
2012 Sep 13
0
I need help for svm package kernlab in R
I use the svm package kernlab .I have two question. In R library(kernlab) m=ksvm(xtrain,ytrain,type="C-svc",kernel=custom function, C=10) alpha(m) alphaindex(m) I can get alpha value and alpha index about package. 1. Assumption that number of sample are 20. number of support vectors are 15. then rest 5`s alphas are 0? 2. I want use kernelMatrix xtrain=as.matrix(xtrain)
2007 Sep 12
0
one-class SVM in kernlab
Hello, I'm trying to using ksvm() in the kernlab package to fit a one-class SVC, but I get a strage result on the cross-validation error estimate. For example, consider this code: data(spam) classifier <- ksvm(type~.,data=spam[which(spam[,'type']=='spam'),], type="one-svc",kernel="rbfdot",kpar=list(sigma=0.1),nu=0.05,cross=10) what I get is: >
2007 Jun 08
0
[git patches] ocfs2 fixes
Please pull from 'upstream-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git upstream-linus to receive the following updates: fs/ocfs2/aops.c | 20 ++++++++++---------- fs/ocfs2/cluster/masklog.c | 3 +-- 2 files changed, 11 insertions(+), 12 deletions(-) Mark Fasheh: ocfs2: Fix invalid assertion during write on 64k pages Tiger
2009 Dec 25
2
Help with SVM package Kernlab
Hi useR's, I am resending this request since I got no response for my last post and I am new to the list so pardon me if I am violating the protocol. I am trying to use the "Kernlab" package for training and prediction using SVM's. I am getting the following error when I am trying to use the predict function: > predictSvm = predict(modelforSVM, testSeq); Error in
2012 Nov 15
1
Can't see what i did wrong..
with pred.pca<-predict(splits[[i]]$pca,trainingData at samples)[,1:nPCs] dframe<-as.data.frame(cbind(pred.pca,class=isExplosive(trainingData,2))); results[[i]]$classifier<-ksvm(class~.,data=dframe,scaled=T,kernel="polydot",type="C-svc", C=C,kpar=list(degree=degree,scale=scale,offset=offset),prob.model=T) and a degree of 5 i get an error of 0 reported by the ksvm
2004 Jun 09
2
Help with a Lattice plot that fails with an empty unique combination
While using Lattice I received the following error. Error in if (xx != 0) xx/10 else z/10 : argument is of length zero In addition: Warning messages: 1: is.na() applied to non-(list or vector) in: is.na(x) 2: is.na() applied to non-(list or vector) in: is.na(x) 3: no finite arguments to min; returning Inf 4: no finite arguments to max; returning -Inf 5: NaNs produced in: log(x, base) Can anyone
2004 Jun 09
2
Help with a Lattice plot that fails with an empty unique combination
While using Lattice I received the following error. Error in if (xx != 0) xx/10 else z/10 : argument is of length zero In addition: Warning messages: 1: is.na() applied to non-(list or vector) in: is.na(x) 2: is.na() applied to non-(list or vector) in: is.na(x) 3: no finite arguments to min; returning Inf 4: no finite arguments to max; returning -Inf 5: NaNs produced in: log(x, base) Can anyone
2005 Jul 13
1
problems with MNP
Hi all, Does anybody have a hint on what may be going wrong in this R code? I mimic the sample code from the MNP developers but I seem unable to get the choice specific variables right. Thanks, Joan Serra > rm(list=ls()) > library(foreign) > small<-read.spss("small.sav") Warning message: small.sav: Unrecognized record type 7, subtype 13 encountered in system file. >
2004 Oct 13
1
password change error
Hi, We migrated from redhat 7.1 to redhat 3 ES and ran into one road block after the other. Most of them were solved except this last one. Users cannot change their passwords and then I read somewhere that samba 3.0 and MS KB828471 or 741 don't want to be friends. Then I upgraded my samba to be samba 3.0.7 (which i guess is the latest).... Then I un-installed the KBB patch being accused.
2002 Nov 18
1
未承諾広告※ Get Free Prog. CD プログレCD無料プレゼント
(It is not spam. I sned email to prog lovers. But if you don't want to get next email, please click below URL) http://210.230.231.33/g/m/s.aspx?R=493E1&U=3F810&M=2B (???????????????????URL???????????) http://210.230.231.33/g/m/s.aspx?R=493E1&U=3F810&M=2B Hello progers! We are vender of Japanese prog rock. Please visit our site. http://www.musicterm.jp/english/ If you get our
2007 Dec 17
0
kernlab and gram matrix
Hi, this is a question about the R package kernlab. I use kernlab as a library in a C++ program. The host application defines a graph kernel (defined by me), generates a gram matrix and trains kernlab directly on this gram matrix, like this: regm<-ksvm(K,y,kernel="matrix"), where K is the n x n gram kernelMatrix of my kernel, and y is the R-vector of quantitative target values.
2012 May 15
1
Regression Analysis or Anova?
Dear all, I hope to be the clearest I can. Let's say I have a dataset with 10 variables, where 4 of them represent for me a certain phenomenon that I call Y. The other 6 represent for me another phenomenon that I call X. Each one of those variables (10) contains 37 units. Those units are just the respondents of my analysis (a survey). Since all the questions are based on a Likert scale, they