Displaying 20 results from an estimated 900 matches similar to: "cross validation in rvm not working? (kernlab package)"
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
Hi,
A. In a nutshell:
The training error, obtained as "error (ret)", from the return value
of a ksvm () call for a eps-svr model is (likely) being computed
wrongly. "nu-svr" and "eps-bsvr" suffer from this as well.
I am attaching three files: (1) ksvm.R from the the kernlab package,
un-edited, (2) ksvm_eps-svr.txt: (for easier reading) containing only
eps-svr
2009 Oct 06
0
Kernlab: multidimensional targets in rvm(), ksvm(), gausspr()
Hi there,
I'm trying to do a regression experiment on a multidimensional
dataset where both x and y in the model are multidimensional
vectors.
I'm using R version 2.9.2, updated packages, on a Linux box.
I've tried gausspr(), ksvm() and rvm(), and the models are
computed fine, but I'm always getting the same error message
when I try to use predict():
"Error in
2012 Feb 13
0
kernlab - rvm error message: Error in if (length(data) != vl)
Hi,
I am trying to perform relevance vector machines with the rvm-function from kernlab.
On one dataset I get this message:
Setting default kernel parameters
Error in if (length(data) != vl) { :
RMate stopped at line 0 of selection
missing value where TRUE/FALSE needed
Calls: rvm ... .local -> backsolve -> as.matrix -> chol -> diag -> array
can someone explain this error
2009 Aug 19
1
Erros with RVM and LSSVM from kernlab library
Hello,
In my ongoing quest to develop a "best" model, I'm testing various forms
of SVM to see which is best for my application.
I have been using the SVM from the e1071 library without problem for
several weeks.
Now, I'm interested in RVM and LSSVM to see if I get better performance.
When running RVM or LSSVM on the exact same data as the SVM{e1071}, I
get an error that I
2006 Nov 24
1
How to find AUC in SVM (kernlab package)
Dear all,
I was wondering if someone can help me. I am learning SVM for
classification in my research with kernlab package. I want to know about
classification performance using Area Under Curve (AUC). I know ROCR
package can do this job but I found all example in ROCR package have
include prediction, for example, ROCR.hiv {ROCR}. My problem is how to
produce prediction in SVM and to find
2011 Aug 26
1
kernlab: ksvm() bug?
Hello all,
I'm trying to run a gird parameter search for a svm.
Therefore I'M using the ksvm function from the kernlab package.
----
svp <- ksvm(Ktrain,ytrain,type="nu-svc",nu=C)
----
The problem is that the optimization algorithm does not return
for certain parameters.
I tried to use setTimeLimit() but that doesn't seem to help.
I suspect that ksvm() calls c code that
2005 Jul 07
1
Kernlab: problem with small datasets
Hi,
I found a small problem with kernlab. The problem, I think, is that the
3-fold cross-validation performed to estimate probabilities is not
class-balanced, so the classifier could find empty classes.
The following example (maybe a little forced) show the error:
data(glass)
set.seed(1)
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.
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,
2011 Nov 08
1
Single-disk rpool with inconsistent checksums, import fails
Hello all,
I have an oi_148a PC with a single root disk, and since
recently it fails to boot - hangs after the copyright
message whenever I use any of my GRUB menu options.
Booting with an oi_148a LiveUSB I had around since
installation, I ran some zdb traversals over the rpool
and zpool import attempts. The imports fail by running
the kernel out of RAM (as recently discussed in the
list with
2010 Nov 22
2
R package "kernlab" can not be properly loaded
Hi,
I tried to load the package "kernlab" under R-v11 and R-v10, however it gave error message:
Error in library.dynam(lib, package, package.lib) :
shared library 'kernlab' not found
In addition: Warning message:
package 'kernlab' was built under R version 2.12.0
Error: package/namespace load failed for 'kernlab'
Has anybody loaded this successfully before?
2010 Nov 09
1
library(kernlab) --- unable to load shared library
Dear R users,
I have recently encountered a problem with using the function `library` in
order to load the package `kernlab`.
My output of sessionInfo() is as follows:
R version 2.10.1 (2009-12-14)
x86_64-unknown-linux-gnu
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
I have installed the package by
2009 Apr 28
1
kernlab - custom kernel
hi,
I am using R's "kernlab" package, exactly i am doing classification using
ksvm(.) and predict.ksvm(.).I want use of custom kernel. I am getting some
error.
# Following R code works (with promotergene dataset):
library("kernlab")
s <- function(x, y) {
sum((x*y)^1.25)
}
class(s) <- "kernel"
data("promotergene")
gene <- ksvm(Class ~ .,
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.
2008 Aug 27
1
R 2.7.2 kernlab issues
Hello,
After upgrading to 2.7.2 this morning via the cran repository, I get the
following error when calling R via the command line:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/home/jstumpf/R/i486-pc-linux-gnu-library/2.7/kernlab/libs/kernlab.so':
libRlapack.so: cannot open shared object file: No such file or directory
Fatal error: unable to
2006 Nov 27
0
kernlab 0.9-0 on CRAN
A new version of kernlab has just been released.
kernlab is a kernel-based Machine Learning package for R.
kernlab includes the following functions:
o ksvm() : Support Vector Machines for classification, regression,
novelty detection, native multi-class classification, support
for class-probability output and confidence intervals in
regression.
o gausspr()
2006 Nov 27
0
kernlab 0.9-0 on CRAN
A new version of kernlab has just been released.
kernlab is a kernel-based Machine Learning package for R.
kernlab includes the following functions:
o ksvm() : Support Vector Machines for classification, regression,
novelty detection, native multi-class classification, support
for class-probability output and confidence intervals in
regression.
o gausspr()
2013 Apr 03
1
kernlab::kkmeans initial centers
Hi,
I am trying to pass initial cluster assignments to the kkmeans
method<http://rss.acs.unt.edu/Rdoc/library/kernlab/html/kkmeans.html>of
kernlab. It is not clear to me how I can set the parameter
*centers* with "initial cluster centers" as stated in the documentation?
thanks,
--ahmed
[[alternative HTML version deleted]]
2005 Mar 17
1
kernlab sigest
hello,
I have the following problem setting parameter 'frac' in the sigest
function of the kernlab package.
## executing the ?sigest example:
library(kernlab)
data(spam)
srange <- sigest(type~.,data = spam)
## works fine...
## setting 'frac' explicitly
## (in this case even to the default of .25)
options(error=recover)
srange <- sigest(type~.,data = spam, frac = .25)
##
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)